#B04EC1

Closest named color: Medium Orchid (#BA55D3). oklch(59.4% 0.191 321.5), rgb(176, 78, 193).

Aa

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

About this color

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

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

Values

HEX#B04EC1
RGBrgb(176, 78, 193)
HSLhsl(291, 48%, 53%)
OKLCHoklch(59.4% 0.191 321.5)

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 #B04EC1 4.46:1 AA large text Lc -75.8 Fine for body text
Black text on #B04EC1 4.70:1 AA Lc 33.7 Non-text elements, placeholder text
#B04EC1 text on white 4.46:1 AA large text Lc 70.3 Content text, not long reading
#B04EC1 text on black 4.70: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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F3E4F5

    oklch(93.6% 0.028 322.2)

  3. Step 200

    200

    #EACEEE

    oklch(88.4% 0.053 322)

  4. Step 300

    300

    #DDADE5

    oklch(80.9% 0.093 321.6)

  5. Step 400

    400

    #CB7FD8

    oklch(70.8% 0.149 321.6)

  6. Step 500

    500 (this color)

    #B04EC1

    oklch(59.4% 0.191 321.5)

  7. Step 600

    600

    #A73ABA

    oklch(55.6% 0.207 321.3)

  8. Step 700

    700

    #8F2BA0

    oklch(49.1% 0.192 321.4)

  9. Step 800

    800

    #742682

    oklch(42.7% 0.159 321.2)

  10. Step 900

    900

    #5E2568

    oklch(37.7% 0.124 321.4)

  11. Step 950

    950

    #37173D

    oklch(27% 0.078 321.1)

Export this scale for Tailwind in the Tailwind colors tool

#B04EC1 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)#3670C50.186
Deuteranopia (no green cones)#5B7BBE0.161
Tritanopia (no blue cones)#B25F800.116
Achromatopsia (no color)#7777770.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #B04EC1

    #B04EC1

    oklch(59.4% 0.191 321.5)

  • #239810

    #239810

    oklch(59.4% 0.191 141.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B04EC1

    #B04EC1

    oklch(59.4% 0.191 321.5)

  • #8361E5

    #8361E5

    oklch(59.4% 0.192 291.3)

  • #CD3F8B

    #CD3F8B

    oklch(59.4% 0.192 351.6)

Open the analogous palette in the generator

Split complementary

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

  • #B04EC1

    #B04EC1

    oklch(59.4% 0.191 321.5)

  • #828500

    #828500

    oklch(59.4% 0.131 111.4)

  • #009476

    #009476

    oklch(59.4% 0.115 171.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B04EC1

    #B04EC1

    oklch(59.4% 0.191 321.5)

  • #A37500

    #A37500

    oklch(59.3% 0.123 81.1)

  • #009098

    #009098

    oklch(59.5% 0.101 201.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B04EC1

    #B04EC1

    oklch(59.4% 0.191 321.5)

  • #C35E00

    #C35E00

    oklch(59.4% 0.153 51.7)

  • #239810

    #239810

    oklch(59.4% 0.191 141.5)

  • #008AB9

    #008AB9

    oklch(59.4% 0.12 231.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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