#D38CE7

Closest named color: Lavender Pink (#DD85D7). oklch(74.4% 0.147 318.6), rgb(211, 140, 231).

Aa

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

About this color

#D38CE7 is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.147 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.029 away. Black text reads best on it, at 8.67:1.

Hue familyPurples
Lightnessmedium-light (74%)
Chromavivid (0.147)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text8.67:1
White text2.42:1

Values

HEX#D38CE7
RGBrgb(211, 140, 231)
HSLhsl(287, 65%, 73%)
OKLCHoklch(74.4% 0.147 318.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 #D38CE7 2.42:1 Fails Lc -52.5 Large or bold text, headings
Black text on #D38CE7 8.67:1 AAA Lc 56.5 Large or bold text, headings
#D38CE7 text on white 2.42:1 Fails Lc 47.5 Large or bold text, headings
#D38CE7 text on black 8.67:1 AAA Lc -54.6 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

    #F2E5F6

    oklch(93.7% 0.027 318.2)

  3. Step 200

    200

    #E8CFEF

    oklch(88.5% 0.051 318.8)

  4. Step 300

    300

    #DAAEE7

    oklch(80.9% 0.092 318.4)

  5. Step 400

    400 (this color)

    #D38CE7

    oklch(74.4% 0.147 318.6)

  6. Step 500

    500

    #B85CD1

    oklch(63.1% 0.189 318.6)

  7. Step 600

    600

    #A33EBD

    oklch(55.6% 0.203 318.7)

  8. Step 700

    700

    #8C2EA3

    oklch(49.1% 0.19 319)

  9. Step 800

    800

    #712884

    oklch(42.6% 0.157 318.6)

  10. Step 900

    900

    #5C276A

    oklch(37.8% 0.122 318.7)

  11. Step 950

    950

    #36183E

    oklch(27.1% 0.077 318.8)

Export this scale for Tailwind in the Tailwind colors tool

#D38CE7 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)#7FA2EA0.126
Deuteranopia (no green cones)#91A9E40.115
Tritanopia (no blue cones)#D397AF0.094
Achromatopsia (no color)#A6A6A60.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #D38CE7

    #D38CE7

    oklch(74.4% 0.147 318.6)

  • #7AC263

    #7AC263

    oklch(74.5% 0.148 138.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D38CE7

    #D38CE7

    oklch(74.4% 0.147 318.6)

  • #A99CFF

    #A99CFF

    oklch(74.4% 0.141 288.5)

  • #EF83BB

    #EF83BB

    oklch(74.4% 0.147 348.9)

Open the analogous palette in the generator

Split complementary

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

  • #D38CE7

    #D38CE7

    oklch(74.4% 0.147 318.6)

  • #B4B22D

    #B4B22D

    oklch(74.2% 0.147 108.6)

  • #12C99B

    #12C99B

    oklch(74.4% 0.147 168.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D38CE7

    #D38CE7

    oklch(74.4% 0.147 318.6)

  • #DE9F20

    #DE9F20

    oklch(74.4% 0.147 78.5)

  • #00C4C9

    #00C4C9

    oklch(74.5% 0.127 198)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D38CE7

    #D38CE7

    oklch(74.4% 0.147 318.6)

  • #F58D51

    #F58D51

    oklch(74.4% 0.147 49)

  • #7AC263

    #7AC263

    oklch(74.5% 0.148 138.5)

  • #00BCF4

    #00BCF4

    oklch(74.3% 0.146 228.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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