#D17AF2

Closest named color: Light Purple (#BF77F6). oklch(71.9% 0.187 316), rgb(209, 122, 242).

Aa

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

About this color

#D17AF2 is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.187 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.033 away. Black text reads best on it, at 7.77:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.187)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text7.77:1
White text2.70:1

Values

HEX#D17AF2
RGBrgb(209, 122, 242)
HSLhsl(284, 82%, 71%)
OKLCHoklch(71.9% 0.187 316)

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 #D17AF2 2.70:1 Fails Lc -57.2 Large or bold text, headings
Black text on #D17AF2 7.77:1 AAA Lc 52.0 Large or bold text, headings
#D17AF2 text on white 2.70:1 Fails Lc 52.0 Large or bold text, headings
#D17AF2 text on black 7.77:1 AAA Lc -49.9 Large or bold text, headings

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

  1. Step 50

    50

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F3E3FA

    oklch(93.5% 0.035 315.7)

  3. Step 200

    200

    #EACDF7

    oklch(88.6% 0.065 315.4)

  4. Step 300

    300

    #DEA9F4

    oklch(80.9% 0.117 315.8)

  5. Step 400

    400 (this color)

    #D17AF2

    oklch(71.9% 0.187 316)

  6. Step 500

    500

    #BF49E8

    oklch(63.1% 0.24 316)

  7. Step 600

    600

    #AB18D6

    oklch(55.6% 0.261 316.1)

  8. Step 700

    700

    #9200B9

    oklch(49.1% 0.241 315.9)

  9. Step 800

    800

    #770D96

    oklch(42.7% 0.2 316.1)

  10. Step 900

    900

    #601977

    oklch(37.6% 0.156 316.2)

  11. Step 950

    950

    #381146

    oklch(26.9% 0.099 315.8)

Export this scale for Tailwind in the Tailwind colors tool

#D17AF2 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)#6198F60.165
Deuteranopia (no green cones)#7BA0EF0.147
Tritanopia (no blue cones)#CF8CAB0.124
Achromatopsia (no color)#9D9D9D0.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #D17AF2

    #D17AF2

    oklch(71.9% 0.187 316)

  • #69BD35

    #69BD35

    oklch(71.8% 0.187 136)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D17AF2

    #D17AF2

    oklch(71.9% 0.187 316)

  • #9D94FF

    #9D94FF

    oklch(72% 0.153 285.7)

  • #F36CBD

    #F36CBD

    oklch(71.9% 0.187 345.8)

Open the analogous palette in the generator

Split complementary

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

  • #D17AF2

    #D17AF2

    oklch(71.9% 0.187 316)

  • #B2A900

    #B2A900

    oklch(71.9% 0.153 105.8)

  • #00C18F

    #00C18F

    oklch(71.9% 0.149 166.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D17AF2

    #D17AF2

    oklch(71.9% 0.187 316)

  • #D99500

    #D99500

    oklch(71.9% 0.151 76.3)

  • #00BCBD

    #00BCBD

    oklch(72% 0.123 195.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D17AF2

    #D17AF2

    oklch(71.9% 0.187 316)

  • #FF7726

    #FF7726

    oklch(72% 0.187 46.3)

  • #69BD35

    #69BD35

    oklch(71.8% 0.187 136)

  • #00B5E6

    #00B5E6

    oklch(72% 0.138 226)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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