#D4A7DB

Closest named color: Plum (#DDA0DD). oklch(78.6% 0.087 321.8), rgb(212, 167, 219).

Aa

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

About this color

#D4A7DB is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.087 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.022 away. Black text reads best on it, at 10.34:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text10.34:1
White text2.02:1

Values

HEX#D4A7DB
RGBrgb(212, 167, 219)
HSLhsl(292, 42%, 76%)
OKLCHoklch(78.6% 0.087 321.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 #D4A7DB 2.02:1 Fails Lc -43.9 Non-text elements, placeholder text
Black text on #D4A7DB 10.34:1 AAA Lc 64.5 Content text, not long reading
#D4A7DB text on white 2.02:1 Fails Lc 39.4 Non-text elements, placeholder text
#D4A7DB text on black 10.34:1 AAA Lc -62.9 Content text, not long reading

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 300.

  1. Step 50

    50

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F2E5F4

    oklch(93.7% 0.024 321.7)

  3. Step 200

    200

    #E9CFED

    oklch(88.5% 0.049 321.7)

  4. Step 300

    300 (this color)

    #D4A7DB

    oklch(78.6% 0.087 321.8)

  5. Step 400

    400

    #C981D4

    oklch(70.7% 0.14 322.1)

  6. Step 500

    500

    #BA5EC9

    oklch(63.2% 0.179 321.9)

  7. Step 600

    600

    #A540B5

    oklch(55.6% 0.194 321.9)

  8. Step 700

    700

    #8D319C

    oklch(49.1% 0.18 321.8)

  9. Step 800

    800

    #732A7E

    oklch(42.7% 0.149 322.2)

  10. Step 900

    900

    #5D2866

    oklch(37.8% 0.116 321.6)

  11. Step 950

    950

    #37183B

    oklch(27% 0.074 322.9)

Export this scale for Tailwind in the Tailwind colors tool

#D4A7DB 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)#A2B3DD0.074
Deuteranopia (no green cones)#ACB8D90.069
Tritanopia (no blue cones)#D6ACB90.055
Achromatopsia (no color)#B6B6B60.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4A7DB

    #D4A7DB

    oklch(78.6% 0.087 321.8)

  • #9AC894

    #9AC894

    oklch(78.6% 0.087 141.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4A7DB

    #D4A7DB

    oklch(78.6% 0.087 321.8)

  • #BAB0ED

    #BAB0ED

    oklch(78.7% 0.086 291.8)

  • #E6A2BF

    #E6A2BF

    oklch(78.6% 0.088 352.1)

Open the analogous palette in the generator

Split complementary

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

  • #D4A7DB

    #D4A7DB

    oklch(78.6% 0.087 321.8)

  • #BABF7D

    #BABF7D

    oklch(78.5% 0.087 111.9)

  • #7CCCB3

    #7CCCB3

    oklch(78.6% 0.087 172)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4A7DB

    #D4A7DB

    oklch(78.6% 0.087 321.8)

  • #D6B477

    #D6B477

    oklch(78.6% 0.088 81.5)

  • #70CAD1

    #70CAD1

    oklch(78.6% 0.087 202.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4A7DB

    #D4A7DB

    oklch(78.6% 0.087 321.8)

  • #E7AA85

    #E7AA85

    oklch(78.7% 0.088 52.3)

  • #9AC894

    #9AC894

    oklch(78.6% 0.087 141.8)

  • #7DC4E8

    #7DC4E8

    oklch(78.7% 0.088 231.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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