#B842CD

Closest named color: Medium Orchid (#BA55D3). oklch(59.8% 0.221 321.2), rgb(184, 66, 205).

Aa

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

About this color

#B842CD is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.221 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.69:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.221)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.69:1
White text4.46:1

Values

HEX#B842CD
RGBrgb(184, 66, 205)
HSLhsl(291, 58%, 53%)
OKLCHoklch(59.8% 0.221 321.2)

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 #B842CD 4.46:1 AA large text Lc -75.6 Fine for body text
Black text on #B842CD 4.69:1 AA Lc 34.0 Non-text elements, placeholder text
#B842CD text on white 4.46:1 AA large text Lc 70.1 Content text, not long reading
#B842CD text on black 4.69:1 AA Lc -31.6 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

    #FAF2FB

    oklch(97% 0.015 322.3)

  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

    #E1A9EB

    oklch(80.8% 0.109 321.3)

  5. Step 400

    400

    #D178E1

    oklch(70.8% 0.173 321.3)

  6. Step 500

    500 (this color)

    #B842CD

    oklch(59.8% 0.221 321.2)

  7. Step 600

    600

    #AE25C5

    oklch(55.6% 0.24 321.2)

  8. Step 700

    700

    #9512AA

    oklch(49% 0.223 321.2)

  9. Step 800

    800

    #79168A

    oklch(42.6% 0.185 321)

  10. Step 900

    900

    #621D6E

    oklch(37.7% 0.144 321.3)

  11. Step 950

    950

    #3A1341

    oklch(27.1% 0.092 321.3)

Export this scale for Tailwind in the Tailwind colors tool

#B842CD 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)#106FD10.225
Deuteranopia (no green cones)#527CCA0.191
Tritanopia (no blue cones)#BA5A830.134
Achromatopsia (no color)#7777770.223

Harmonies

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

Complementary

The opposite hue (180°).

  • #B842CD

    #B842CD

    oklch(59.8% 0.221 321.2)

  • #1F9A00

    #1F9A00

    oklch(59.8% 0.198 141.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B842CD

    #B842CD

    oklch(59.8% 0.221 321.2)

  • #865AF6

    #865AF6

    oklch(59.8% 0.221 291.2)

  • #D82C8F

    #D82C8F

    oklch(59.8% 0.221 351.2)

Open the analogous palette in the generator

Split complementary

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

  • #B842CD

    #B842CD

    oklch(59.8% 0.221 321.2)

  • #838600

    #838600

    oklch(59.8% 0.132 111.3)

  • #009677

    #009677

    oklch(59.9% 0.117 171.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B842CD

    #B842CD

    oklch(59.8% 0.221 321.2)

  • #A57600

    #A57600

    oklch(59.8% 0.124 80.7)

  • #009199

    #009199

    oklch(59.8% 0.102 201.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B842CD

    #B842CD

    oklch(59.8% 0.221 321.2)

  • #C55E00

    #C55E00

    oklch(59.7% 0.155 51.2)

  • #1F9A00

    #1F9A00

    oklch(59.8% 0.198 141.2)

  • #008BBA

    #008BBA

    oklch(59.7% 0.121 231.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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