#D38CED

Closest named color: Liliac (#C48EFD). oklch(74.6% 0.154 316.6), rgb(211, 140, 237).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.154)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.74:1
White text2.40:1

Values

HEX#D38CED
RGBrgb(211, 140, 237)
HSLhsl(284, 73%, 74%)
OKLCHoklch(74.6% 0.154 316.6)

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 #D38CED 2.40:1 Fails Lc -52.1 Large or bold text, headings
Black text on #D38CED 8.74:1 AAA Lc 56.9 Large or bold text, headings
#D38CED text on white 2.40:1 Fails Lc 47.1 Large or bold text, headings
#D38CED text on black 8.74:1 AAA Lc -54.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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E5F7

    oklch(93.7% 0.028 316.7)

  3. Step 200

    200

    #E8CFF1

    oklch(88.6% 0.053 317.1)

  4. Step 300

    300

    #DAAEEA

    oklch(81% 0.095 316.9)

  5. Step 400

    400 (this color)

    #D38CED

    oklch(74.6% 0.154 316.6)

  6. Step 500

    500

    #B75BD7

    oklch(63.2% 0.196 316.5)

  7. Step 600

    600

    #A23BC4

    oklch(55.6% 0.213 316.4)

  8. Step 700

    700

    #8B2BA9

    oklch(49.1% 0.198 316.7)

  9. Step 800

    800

    #712689

    oklch(42.7% 0.164 316.7)

  10. Step 900

    900

    #5B256E

    oklch(37.6% 0.129 316.2)

  11. Step 950

    950

    #361740

    oklch(27% 0.081 317.2)

Export this scale for Tailwind in the Tailwind colors tool

#D38CED 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)#7CA3F10.130
Deuteranopia (no green cones)#8EA9EA0.118
Tritanopia (no blue cones)#D299B10.102
Achromatopsia (no color)#A7A7A70.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #D38CED

    #D38CED

    oklch(74.6% 0.154 316.6)

  • #7DC35C

    #7DC35C

    oklch(74.8% 0.154 136.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D38CED

    #D38CED

    oklch(74.6% 0.154 316.6)

  • #A79EFF

    #A79EFF

    oklch(74.6% 0.138 286.8)

  • #F182C0

    #F182C0

    oklch(74.7% 0.153 346.8)

Open the analogous palette in the generator

Split complementary

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

  • #D38CED

    #D38CED

    oklch(74.6% 0.154 316.6)

  • #B9B21C

    #B9B21C

    oklch(74.6% 0.153 106.6)

  • #01CB97

    #01CB97

    oklch(74.7% 0.154 166.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D38CED

    #D38CED

    oklch(74.6% 0.154 316.6)

  • #E39D10

    #E39D10

    oklch(74.6% 0.154 76.2)

  • #00C5C8

    #00C5C8

    oklch(74.7% 0.127 196.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D38CED

    #D38CED

    oklch(74.6% 0.154 316.6)

  • #FA8B51

    #FA8B51

    oklch(74.7% 0.153 46.8)

  • #7DC35C

    #7DC35C

    oklch(74.8% 0.154 136.6)

  • #00BEF2

    #00BEF2

    oklch(74.7% 0.143 226.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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