#C842B9

Closest named color: Purpley Pink (#C83CB9). oklch(61% 0.213 332.7), rgb(200, 66, 185).

Aa

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

About this color

#C842B9 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.213 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.009 away. Black text reads best on it, at 4.93:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.213)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.93:1
White text4.25:1

Values

HEX#C842B9
RGBrgb(200, 66, 185)
HSLhsl(307, 55%, 52%)
OKLCHoklch(61% 0.213 332.7)

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 #C842B9 4.25:1 AA large text Lc -73.9 Content text, not long reading
Black text on #C842B9 4.93:1 AA Lc 35.7 Non-text elements, placeholder text
#C842B9 text on white 4.25:1 AA large text Lc 68.4 Content text, not long reading
#C842B9 text on black 4.93:1 AA Lc -33.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

    #FCF2FA

    oklch(97.1% 0.015 332.2)

  2. Step 100

    100

    #F7E3F3

    oklch(93.6% 0.03 332.5)

  3. Step 200

    200

    #F1CCEA

    oklch(88.6% 0.057 332.5)

  4. Step 300

    300

    #E9A7DE

    oklch(80.8% 0.105 332.5)

  5. Step 400

    400

    #DC75CD

    oklch(70.8% 0.167 332.8)

  6. Step 500

    500 (this color)

    #C842B9

    oklch(61% 0.213 332.7)

  7. Step 600

    600

    #BB1FAC

    oklch(55.7% 0.232 332.8)

  8. Step 700

    700

    #A00A94

    oklch(49.1% 0.216 332.5)

  9. Step 800

    800

    #821278

    oklch(42.7% 0.178 332.5)

  10. Step 900

    900

    #691A61

    oklch(37.7% 0.14 332.4)

  11. Step 950

    950

    #3E1139

    oklch(27% 0.089 332.4)

Export this scale for Tailwind in the Tailwind colors tool

#C842B9 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)#3C6EBC0.228
Deuteranopia (no green cones)#6B82B60.196
Tritanopia (no blue cones)#D14E780.111
Achromatopsia (no color)#7B7B7B0.215

Harmonies

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

Complementary

The opposite hue (180°).

  • #C842B9

    #C842B9

    oklch(61% 0.213 332.7)

  • #009D52

    #009D52

    oklch(61% 0.158 152.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C842B9

    #C842B9

    oklch(61% 0.213 332.7)

  • #9E57EA

    #9E57EA

    oklch(61% 0.214 302.7)

  • #E13377

    #E13377

    oklch(61% 0.213 2.9)

Open the analogous palette in the generator

Split complementary

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

  • #C842B9

    #C842B9

    oklch(61% 0.213 332.7)

  • #739000

    #739000

    oklch(60.9% 0.149 122.7)

  • #009889

    #009889

    oklch(61% 0.109 182.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C842B9

    #C842B9

    oklch(61% 0.213 332.7)

  • #9D8000

    #9D8000

    oklch(60.9% 0.125 92.9)

  • #0093A9

    #0093A9

    oklch(60.9% 0.107 213.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C842B9

    #C842B9

    oklch(61% 0.213 332.7)

  • #BC6D00

    #BC6D00

    oklch(61% 0.139 63)

  • #009D52

    #009D52

    oklch(61% 0.158 152.7)

  • #008BD3

    #008BD3

    oklch(61.1% 0.146 242.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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