#D845C1

Closest named color: Pinky Purple (#C94CBE). oklch(64% 0.225 334.8), rgb(216, 69, 193).

Aa

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

About this color

#D845C1 is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.225 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.029 away. Black text reads best on it, at 5.54:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.225)
Temperaturein between
Nearest namePinky Purple (#C94CBE)
Black text5.54:1
White text3.78:1

Values

HEX#D845C1
RGBrgb(216, 69, 193)
HSLhsl(309, 65%, 56%)
OKLCHoklch(64% 0.225 334.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 #D845C1 3.78:1 AA large text Lc -69.9 Content text, not long reading
Black text on #D845C1 5.54:1 AA Lc 39.7 Non-text elements, placeholder text
#D845C1 text on white 3.78:1 AA large text Lc 64.4 Content text, not long reading
#D845C1 text on black 5.54:1 AA Lc -37.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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F8E2F2

    oklch(93.5% 0.032 335.4)

  3. Step 200

    200

    #F4CBE9

    oklch(88.6% 0.06 335.7)

  4. Step 300

    300

    #EDA6DD

    oklch(81% 0.109 334.9)

  5. Step 400

    400

    #E171CC

    oklch(70.8% 0.176 334.8)

  6. Step 500

    500 (this color)

    #D845C1

    oklch(64% 0.225 334.8)

  7. Step 600

    600

    #C008AA

    oklch(55.6% 0.244 334.9)

  8. Step 700

    700

    #A30090

    oklch(49.1% 0.218 334.9)

  9. Step 800

    800

    #860377

    oklch(42.7% 0.188 334.5)

  10. Step 900

    900

    #6C1560

    oklch(37.7% 0.146 334.5)

  11. Step 950

    950

    #400F38

    oklch(27% 0.093 335.1)

Export this scale for Tailwind in the Tailwind colors tool

#D845C1 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)#4475C50.242
Deuteranopia (no green cones)#768BBD0.209
Tritanopia (no blue cones)#E2507D0.113
Achromatopsia (no color)#8383830.227

Harmonies

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

Complementary

The opposite hue (180°).

  • #D845C1

    #D845C1

    oklch(64% 0.225 334.8)

  • #00A75F

    #00A75F

    oklch(64% 0.159 154.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D845C1

    #D845C1

    oklch(64% 0.225 334.8)

  • #AC5CF7

    #AC5CF7

    oklch(64% 0.224 304.5)

  • #F1357A

    #F1357A

    oklch(63.9% 0.225 4.8)

Open the analogous palette in the generator

Split complementary

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

  • #D845C1

    #D845C1

    oklch(64% 0.225 334.8)

  • #769B00

    #769B00

    oklch(63.8% 0.16 124.8)

  • #00A295

    #00A295

    oklch(64% 0.113 184.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D845C1

    #D845C1

    oklch(64% 0.225 334.8)

  • #A58A00

    #A58A00

    oklch(63.9% 0.131 95.1)

  • #009DB6

    #009DB6

    oklch(64% 0.113 214.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D845C1

    #D845C1

    oklch(64% 0.225 334.8)

  • #C67600

    #C67600

    oklch(63.9% 0.144 64.8)

  • #00A75F

    #00A75F

    oklch(64% 0.159 154.9)

  • #0093E6

    #0093E6

    oklch(64.1% 0.161 244.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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