#D18CF4

Closest named color: Liliac (#C48EFD). oklch(74.8% 0.16 313.5), rgb(209, 140, 244).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.160)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.76:1
White text2.39:1

Values

HEX#D18CF4
RGBrgb(209, 140, 244)
HSLhsl(280, 83%, 75%)
OKLCHoklch(74.8% 0.16 313.5)

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 #D18CF4 2.39:1 Fails Lc -51.9 Large or bold text, headings
Black text on #D18CF4 8.76:1 AAA Lc 57.0 Large or bold text, headings
#D18CF4 text on white 2.39:1 Fails Lc 47.0 Large or bold text, headings
#D18CF4 text on black 8.76:1 AAA Lc -55.1 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

    #F1E5F8

    oklch(93.7% 0.028 313.4)

  3. Step 200

    200

    #E7CFF4

    oklch(88.6% 0.056 313.8)

  4. Step 300

    300

    #D8AEEF

    oklch(81% 0.1 313.4)

  5. Step 400

    400 (this color)

    #D18CF4

    oklch(74.8% 0.16 313.5)

  6. Step 500

    500

    #B459DF

    oklch(63% 0.206 313.4)

  7. Step 600

    600

    #A038CC

    oklch(55.6% 0.223 313.7)

  8. Step 700

    700

    #8928B1

    oklch(49.1% 0.208 313.6)

  9. Step 800

    800

    #6F248F

    oklch(42.7% 0.172 313.5)

  10. Step 900

    900

    #5A2472

    oklch(37.6% 0.134 313.7)

  11. Step 950

    950

    #351743

    oklch(27.1% 0.084 313.7)

Export this scale for Tailwind in the Tailwind colors tool

#D18CF4 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)#78A4F80.131
Deuteranopia (no green cones)#8AA9F10.119
Tritanopia (no blue cones)#CE9BB50.109
Achromatopsia (no color)#A7A7A70.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #D18CF4

    #D18CF4

    oklch(74.8% 0.16 313.5)

  • #82C251

    #82C251

    oklch(74.7% 0.16 133.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D18CF4

    #D18CF4

    oklch(74.8% 0.16 313.5)

  • #A3A1FF

    #A3A1FF

    oklch(74.8% 0.134 283.6)

  • #F180C7

    #F180C7

    oklch(74.7% 0.161 343.3)

Open the analogous palette in the generator

Split complementary

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

  • #D18CF4

    #D18CF4

    oklch(74.8% 0.16 313.5)

  • #BFB100

    #BFB100

    oklch(74.9% 0.158 103.8)

  • #00CC91

    #00CC91

    oklch(74.8% 0.16 163.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D18CF4

    #D18CF4

    oklch(74.8% 0.16 313.5)

  • #E89B00

    #E89B00

    oklch(74.8% 0.159 73.7)

  • #00C6C4

    #00C6C4

    oklch(74.8% 0.128 193.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D18CF4

    #D18CF4

    oklch(74.8% 0.16 313.5)

  • #FF8752

    #FF8752

    oklch(74.7% 0.161 43.4)

  • #82C251

    #82C251

    oklch(74.7% 0.16 133.6)

  • #00BFEE

    #00BFEE

    oklch(74.7% 0.14 223.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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