#B542D1

Closest named color: Medium Orchid (#BA55D3). oklch(59.7% 0.224 319.1), rgb(181, 66, 209).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.224)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.66:1
White text4.50:1

Values

HEX#B542D1
RGBrgb(181, 66, 209)
HSLhsl(288, 61%, 54%)
OKLCHoklch(59.7% 0.224 319.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 #B542D1 4.50:1 AA Lc -75.8 Fine for body text
Black text on #B542D1 4.66:1 AA Lc 33.8 Non-text elements, placeholder text
#B542D1 text on white 4.50:1 AA Lc 70.3 Content text, not long reading
#B542D1 text on black 4.66:1 AA Lc -31.3 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 500.

  1. Step 50

    50

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F3E4F8

    oklch(93.7% 0.031 317.7)

  3. Step 200

    200

    #EBCDF3

    oklch(88.5% 0.061 319.1)

  4. Step 300

    300

    #DFAAEE

    oklch(80.9% 0.109 318.7)

  5. Step 400

    400

    #CE78E5

    oklch(70.6% 0.176 318.9)

  6. Step 500

    500 (this color)

    #B542D1

    oklch(59.7% 0.224 319.1)

  7. Step 600

    600

    #AC25CA

    oklch(55.6% 0.244 319.2)

  8. Step 700

    700

    #9313AF

    oklch(49.1% 0.226 318.9)

  9. Step 800

    800

    #78178D

    oklch(42.7% 0.187 319.4)

  10. Step 900

    900

    #611D71

    oklch(37.7% 0.146 319.3)

  11. Step 950

    950

    #391342

    oklch(27% 0.092 319.5)

Export this scale for Tailwind in the Tailwind colors tool

#B542D1 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)#006FD50.223
Deuteranopia (no green cones)#4B7ACE0.191
Tritanopia (no blue cones)#B55D850.140
Achromatopsia (no color)#7777770.225

Harmonies

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

Complementary

The opposite hue (180°).

  • #B542D1

    #B542D1

    oklch(59.7% 0.224 319.1)

  • #359800

    #359800

    oklch(59.8% 0.189 139.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B542D1

    #B542D1

    oklch(59.7% 0.224 319.1)

  • #815BF9

    #815BF9

    oklch(59.7% 0.224 288.8)

  • #D72B94

    #D72B94

    oklch(59.8% 0.224 349.1)

Open the analogous palette in the generator

Split complementary

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

  • #B542D1

    #B542D1

    oklch(59.7% 0.224 319.1)

  • #868500

    #868500

    oklch(59.8% 0.13 109.2)

  • #009573

    #009573

    oklch(59.5% 0.119 169.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B542D1

    #B542D1

    oklch(59.7% 0.224 319.1)

  • #A67500

    #A67500

    oklch(59.7% 0.124 79.4)

  • #009196

    #009196

    oklch(59.6% 0.101 199.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B542D1

    #B542D1

    oklch(59.7% 0.224 319.1)

  • #C85B00

    #C85B00

    oklch(59.7% 0.16 49)

  • #359800

    #359800

    oklch(59.8% 0.189 139.1)

  • #008BB7

    #008BB7

    oklch(59.6% 0.118 229.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #B542D1 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.