#B242D1

Closest named color: Medium Orchid (#BA55D3). oklch(59.3% 0.222 318.1), rgb(178, 66, 209).

Aa

Black text reads best on this color (4.59:1).

About this color

#B242D1 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.222 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.039 away. Black text reads best on it, at 4.59:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.222)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.59:1
White text4.57:1

Values

HEX#B242D1
RGBrgb(178, 66, 209)
HSLhsl(287, 61%, 54%)
OKLCHoklch(59.3% 0.222 318.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #B242D1 4.57:1 AA Lc -76.3 Fine for body text
Black text on #B242D1 4.59:1 AA Lc 33.2 Non-text elements, placeholder text
#B242D1 text on white 4.57:1 AA Lc 70.8 Content text, not long reading
#B242D1 text on black 4.59:1 AA Lc -30.8 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.

  1. Step 50

    50

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200

    #E9CEF1

    oklch(88.5% 0.055 318.4)

  4. Step 300

    300

    #DCACEB

    oklch(80.9% 0.101 318)

  5. Step 400

    400

    #C97DE0

    oklch(70.6% 0.16 318)

  6. Step 500

    500

    #BB57D7

    oklch(63.2% 0.204 318.3)

  7. Step 600

    600 (this color)

    #B242D1

    oklch(59.3% 0.222 318.1)

  8. Step 700

    700

    #8E25AA

    oklch(49.1% 0.207 317.9)

  9. Step 800

    800

    #74228A

    oklch(42.8% 0.171 318.1)

  10. Step 900

    900

    #5E236E

    oklch(37.8% 0.133 318.4)

  11. Step 950

    950

    #371641

    oklch(27.1% 0.085 317.7)

Export this scale for Tailwind in the Tailwind colors tool

#B242D1 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#006ED50.219
Deuteranopia (no green cones)#4879CE0.189
Tritanopia (no blue cones)#B15D850.140
Achromatopsia (no color)#7676760.224

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #B242D1

    #B242D1

    oklch(59.3% 0.222 318.1)

  • #3B9500

    #3B9500

    oklch(59.1% 0.183 138.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B242D1

    #B242D1

    oklch(59.3% 0.222 318.1)

  • #7E5AF7

    #7E5AF7

    oklch(59.2% 0.223 288.2)

  • #D42B95

    #D42B95

    oklch(59.3% 0.222 348)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #B242D1

    #B242D1

    oklch(59.3% 0.222 318.1)

  • #868300

    #868300

    oklch(59.3% 0.128 108.1)

  • #009470

    #009470

    oklch(59.2% 0.12 168)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B242D1

    #B242D1

    oklch(59.3% 0.222 318.1)

  • #A67300

    #A67300

    oklch(59.3% 0.124 77.8)

  • #009094

    #009094

    oklch(59.3% 0.101 198.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B242D1

    #B242D1

    oklch(59.3% 0.222 318.1)

  • #C75900

    #C75900

    oklch(59.3% 0.161 48.3)

  • #3B9500

    #3B9500

    oklch(59.1% 0.183 138.1)

  • #008AB4

    #008AB4

    oklch(59.2% 0.116 228.4)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #B242D1, closest first.

No curated palette has a color within ΔE 0.04 of #B242D1.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #B242D1 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.