#D18FE7

Closest named color: Baby Purple (#CA9BF7). oklch(74.6% 0.141 317.4), rgb(209, 143, 231).

Aa

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

About this color

#D18FE7 is a medium-light, vivid purple. In OKLCH its lightness is 75%, its chroma 0.141 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.033 away. Black text reads best on it, at 8.79:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.141)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text8.79:1
White text2.38:1

Values

HEX#D18FE7
RGBrgb(209, 143, 231)
HSLhsl(285, 65%, 73%)
OKLCHoklch(74.6% 0.141 317.4)

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 #D18FE7 2.38:1 Fails Lc -51.8 Large or bold text, headings
Black text on #D18FE7 8.79:1 AAA Lc 57.1 Large or bold text, headings
#D18FE7 text on white 2.38:1 Fails Lc 46.9 Large or bold text, headings
#D18FE7 text on black 8.79:1 AAA Lc -55.2 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E7D0EF

    oklch(88.6% 0.049 317.4)

  4. Step 300

    300

    #D8AFE6

    oklch(80.8% 0.088 317.4)

  5. Step 400

    400 (this color)

    #D18FE7

    oklch(74.6% 0.141 317.4)

  6. Step 500

    500

    #B460CF

    oklch(63% 0.179 317.4)

  7. Step 600

    600

    #A042BC

    oklch(55.6% 0.196 317.6)

  8. Step 700

    700

    #8933A2

    oklch(49.2% 0.181 317.7)

  9. Step 800

    800

    #6F2B84

    oklch(42.7% 0.152 317.3)

  10. Step 900

    900

    #5A296A

    oklch(37.8% 0.117 317.1)

  11. Step 950

    950

    #35193E

    oklch(27.1% 0.074 317.4)

Export this scale for Tailwind in the Tailwind colors tool

#D18FE7 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)#82A3EA0.118
Deuteranopia (no green cones)#92AAE40.109
Tritanopia (no blue cones)#D19AB00.093
Achromatopsia (no color)#A8A8A80.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #D18FE7

    #D18FE7

    oklch(74.6% 0.141 317.4)

  • #80C166

    #80C166

    oklch(74.6% 0.14 137.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D18FE7

    #D18FE7

    oklch(74.6% 0.141 317.4)

  • #A89EFF

    #A89EFF

    oklch(74.7% 0.138 287.3)

  • #ED86BD

    #ED86BD

    oklch(74.7% 0.141 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #D18FE7

    #D18FE7

    oklch(74.6% 0.141 317.4)

  • #B7B337

    #B7B337

    oklch(74.8% 0.141 107.5)

  • #30C99B

    #30C99B

    oklch(74.7% 0.141 167.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D18FE7

    #D18FE7

    oklch(74.6% 0.141 317.4)

  • #DEA02F

    #DEA02F

    oklch(74.7% 0.141 77.5)

  • #00C5C9

    #00C5C9

    oklch(74.7% 0.127 197.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D18FE7

    #D18FE7

    oklch(74.6% 0.141 317.4)

  • #F48F59

    #F48F59

    oklch(74.7% 0.141 47.7)

  • #80C166

    #80C166

    oklch(74.6% 0.14 137.4)

  • #19BDF2

    #19BDF2

    oklch(74.6% 0.141 227.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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