#D18AF8

Closest named color: Liliac (#C48EFD). oklch(74.6% 0.168 312.7), rgb(209, 138, 248).

Aa

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

About this color

#D18AF8 is a medium-light, vivid purple. In OKLCH its lightness is 75%, its chroma 0.168 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.022 away. Black text reads best on it, at 8.70:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.168)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.70:1
White text2.41:1

Values

HEX#D18AF8
RGBrgb(209, 138, 248)
HSLhsl(279, 89%, 76%)
OKLCHoklch(74.6% 0.168 312.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 #D18AF8 2.41:1 Fails Lc -52.3 Large or bold text, headings
Black text on #D18AF8 8.70:1 AAA Lc 56.7 Large or bold text, headings
#D18AF8 text on white 2.41:1 Fails Lc 47.3 Large or bold text, headings
#D18AF8 text on black 8.70:1 AAA Lc -54.7 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E4F9

    oklch(93.5% 0.031 312.9)

  3. Step 200

    200

    #E7CFF5

    oklch(88.6% 0.057 313.1)

  4. Step 300

    300

    #D8ADF2

    oklch(80.9% 0.105 312.4)

  5. Step 400

    400 (this color)

    #D18AF8

    oklch(74.6% 0.168 312.7)

  6. Step 500

    500

    #B556E4

    oklch(63.1% 0.216 312.7)

  7. Step 600

    600

    #A133D2

    oklch(55.7% 0.234 312.8)

  8. Step 700

    700

    #8923B6

    oklch(49.1% 0.217 312.4)

  9. Step 800

    800

    #702093

    oklch(42.7% 0.181 312.9)

  10. Step 900

    900

    #5A2275

    oklch(37.6% 0.14 312.6)

  11. Step 950

    950

    #351645

    oklch(27.1% 0.089 312.4)

Export this scale for Tailwind in the Tailwind colors tool

#D18AF8 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)#73A3FC0.137
Deuteranopia (no green cones)#86A8F50.124
Tritanopia (no blue cones)#CD9AB50.116
Achromatopsia (no color)#A7A7A70.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #D18AF8

    #D18AF8

    oklch(74.6% 0.168 312.7)

  • #82C248

    #82C248

    oklch(74.6% 0.167 132.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D18AF8

    #D18AF8

    oklch(74.6% 0.168 312.7)

  • #A1A1FF

    #A1A1FF

    oklch(74.7% 0.134 282.7)

  • #F37DC9

    #F37DC9

    oklch(74.6% 0.169 342.7)

Open the analogous palette in the generator

Split complementary

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

  • #D18AF8

    #D18AF8

    oklch(74.6% 0.168 312.7)

  • #C0B000

    #C0B000

    oklch(74.7% 0.157 102.9)

  • #00CC8E

    #00CC8E

    oklch(74.7% 0.163 162.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D18AF8

    #D18AF8

    oklch(74.6% 0.168 312.7)

  • #E99A00

    #E99A00

    oklch(74.7% 0.159 72.7)

  • #00C6C2

    #00C6C2

    oklch(74.7% 0.128 192.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D18AF8

    #D18AF8

    oklch(74.6% 0.168 312.7)

  • #FF8653

    #FF8653

    oklch(74.6% 0.161 42.6)

  • #82C248

    #82C248

    oklch(74.6% 0.167 132.6)

  • #00BFEC

    #00BFEC

    oklch(74.7% 0.139 222.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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