#B842CE

Closest named color: Medium Orchid (#BA55D3). oklch(59.9% 0.222 320.9), rgb(184, 66, 206).

Aa

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

About this color

#B842CE is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.222 and its hue 321°. 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 (60%)
Chromavivid (0.222)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.70:1
White text4.45:1

Values

HEX#B842CE
RGBrgb(184, 66, 206)
HSLhsl(291, 59%, 53%)
OKLCHoklch(59.9% 0.222 320.9)

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 #B842CE 4.45:1 AA large text Lc -75.5 Fine for body text
Black text on #B842CE 4.70:1 AA Lc 34.1 Non-text elements, placeholder text
#B842CE text on white 4.45:1 AA large text Lc 70.0 Content text, not long reading
#B842CE text on black 4.70:1 AA Lc -31.7 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

    #F4E3F7

    oklch(93.5% 0.032 321.1)

  3. Step 200

    200

    #ECCDF2

    oklch(88.6% 0.06 320.8)

  4. Step 300

    300

    #E1A9EC

    oklch(80.9% 0.11 320.8)

  5. Step 400

    400

    #D078E2

    oklch(70.7% 0.174 320.6)

  6. Step 500

    500 (this color)

    #B842CE

    oklch(59.9% 0.222 320.9)

  7. Step 600

    600

    #AE24C6

    oklch(55.6% 0.242 321)

  8. Step 700

    700

    #9511AB

    oklch(49% 0.225 320.9)

  9. Step 800

    800

    #79168B

    oklch(42.7% 0.186 320.7)

  10. Step 900

    900

    #621C6F

    oklch(37.7% 0.146 320.9)

  11. Step 950

    950

    #3A1341

    oklch(27.1% 0.092 321.3)

Export this scale for Tailwind in the Tailwind colors tool

#B842CE 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)#0D6FD20.226
Deuteranopia (no green cones)#517CCB0.192
Tritanopia (no blue cones)#B95B830.136
Achromatopsia (no color)#7777770.224

Harmonies

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

Complementary

The opposite hue (180°).

  • #B842CE

    #B842CE

    oklch(59.9% 0.222 320.9)

  • #239A00

    #239A00

    oklch(59.9% 0.197 140.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B842CE

    #B842CE

    oklch(59.9% 0.222 320.9)

  • #865AF7

    #865AF7

    oklch(59.9% 0.223 291.1)

  • #D82C90

    #D82C90

    oklch(59.8% 0.222 350.8)

Open the analogous palette in the generator

Split complementary

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

  • #B842CE

    #B842CE

    oklch(59.9% 0.222 320.9)

  • #848600

    #848600

    oklch(59.8% 0.131 110.8)

  • #009676

    #009676

    oklch(59.9% 0.118 170.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B842CE

    #B842CE

    oklch(59.9% 0.222 320.9)

  • #A57600

    #A57600

    oklch(59.8% 0.124 80.7)

  • #009299

    #009299

    oklch(60% 0.102 200.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B842CE

    #B842CE

    oklch(59.9% 0.222 320.9)

  • #C65E00

    #C65E00

    oklch(59.9% 0.156 51)

  • #239A00

    #239A00

    oklch(59.9% 0.197 140.9)

  • #008CBA

    #008CBA

    oklch(60% 0.12 230.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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