#C04DAF

Closest named color: Pinky Purple (#C94CBE). oklch(60.5% 0.186 333.8), rgb(192, 77, 175).

Aa

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

About this color

#C04DAF is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.186 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.028 away. Black text reads best on it, at 4.92:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.186)
Temperaturein between
Nearest namePinky Purple (#C94CBE)
Black text4.92:1
White text4.26:1

Values

HEX#C04DAF
RGBrgb(192, 77, 175)
HSLhsl(309, 48%, 53%)
OKLCHoklch(60.5% 0.186 333.8)

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 #C04DAF 4.26:1 AA large text Lc -74.3 Content text, not long reading
Black text on #C04DAF 4.92:1 AA Lc 35.3 Non-text elements, placeholder text
#C04DAF text on white 4.26:1 AA large text Lc 68.8 Content text, not long reading
#C04DAF text on black 4.92:1 AA Lc -32.9 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

    #FBF3F9

    oklch(97.2% 0.012 334.1)

  2. Step 100

    100

    #F5E4F1

    oklch(93.6% 0.025 333.7)

  3. Step 200

    200

    #EFCDE7

    oklch(88.5% 0.051 334.2)

  4. Step 300

    300

    #E5ABD9

    oklch(80.9% 0.09 333.9)

  5. Step 400

    400

    #D67BC6

    oklch(70.6% 0.146 333.8)

  6. Step 500

    500 (this color)

    #C04DAF

    oklch(60.5% 0.186 333.8)

  7. Step 600

    600

    #B434A3

    oklch(55.6% 0.203 333.9)

  8. Step 700

    700

    #9A258C

    oklch(49% 0.188 333.5)

  9. Step 800

    800

    #7D2271

    oklch(42.6% 0.154 333.8)

  10. Step 900

    900

    #65225C

    oklch(37.6% 0.122 333.4)

  11. Step 950

    950

    #3C1536

    oklch(27% 0.078 333.8)

Export this scale for Tailwind in the Tailwind colors tool

#C04DAF 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)#4B70B20.195
Deuteranopia (no green cones)#6F81AC0.171
Tritanopia (no blue cones)#C855770.095
Achromatopsia (no color)#7A7A7A0.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #C04DAF

    #C04DAF

    oklch(60.5% 0.186 333.8)

  • #009B54

    #009B54

    oklch(60.5% 0.154 153.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C04DAF

    #C04DAF

    oklch(60.5% 0.186 333.8)

  • #9A5EDA

    #9A5EDA

    oklch(60.5% 0.185 303.7)

  • #D64375

    #D64375

    oklch(60.5% 0.186 3.9)

Open the analogous palette in the generator

Split complementary

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

  • #C04DAF

    #C04DAF

    oklch(60.5% 0.186 333.8)

  • #708F00

    #708F00

    oklch(60.4% 0.149 123.6)

  • #009689

    #009689

    oklch(60.5% 0.107 184.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C04DAF

    #C04DAF

    oklch(60.5% 0.186 333.8)

  • #9A7F00

    #9A7F00

    oklch(60.4% 0.124 93.9)

  • #0091A8

    #0091A8

    oklch(60.4% 0.106 214.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C04DAF

    #C04DAF

    oklch(60.5% 0.186 333.8)

  • #B96D00

    #B96D00

    oklch(60.6% 0.137 64.2)

  • #009B54

    #009B54

    oklch(60.5% 0.154 153.7)

  • #0089D3

    #0089D3

    oklch(60.6% 0.148 243.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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