#D38FEF

Closest named color: Baby Purple (#CA9BF7). oklch(75.2% 0.151 315.6), rgb(211, 143, 239).

Aa

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

About this color

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

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

Values

HEX#D38FEF
RGBrgb(211, 143, 239)
HSLhsl(283, 75%, 75%)
OKLCHoklch(75.2% 0.151 315.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 #D38FEF 2.34:1 Fails Lc -51.0 Large or bold text, headings
Black text on #D38FEF 8.94:1 AAA Lc 57.9 Large or bold text, headings
#D38FEF text on white 2.34:1 Fails Lc 46.1 Large or bold text, headings
#D38FEF text on black 8.94:1 AAA Lc -56.0 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

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200

    #E7CFF1

    oklch(88.5% 0.053 316)

  4. Step 300

    300

    #D8AEEA

    oklch(80.8% 0.094 315.6)

  5. Step 400

    400 (this color)

    #D38FEF

    oklch(75.2% 0.151 315.6)

  6. Step 500

    500

    #B55DD7

    oklch(63.2% 0.192 315.6)

  7. Step 600

    600

    #A03DC4

    oklch(55.6% 0.21 315.6)

  8. Step 700

    700

    #892EA9

    oklch(49.1% 0.194 315.7)

  9. Step 800

    800

    #6F2889

    oklch(42.7% 0.161 315.5)

  10. Step 900

    900

    #5A276E

    oklch(37.8% 0.125 315.2)

  11. Step 950

    950

    #351840

    oklch(27.1% 0.079 315.9)

Export this scale for Tailwind in the Tailwind colors tool

#D38FEF 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)#7FA5F30.125
Deuteranopia (no green cones)#90ABEC0.114
Tritanopia (no blue cones)#D29CB40.101
Achromatopsia (no color)#A9A9A90.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #D38FEF

    #D38FEF

    oklch(75.2% 0.151 315.6)

  • #82C45E

    #82C45E

    oklch(75.3% 0.151 135.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D38FEF

    #D38FEF

    oklch(75.2% 0.151 315.6)

  • #A7A1FF

    #A7A1FF

    oklch(75.1% 0.134 285.6)

  • #F185C3

    #F185C3

    oklch(75.3% 0.15 345.8)

Open the analogous palette in the generator

Split complementary

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

  • #D38FEF

    #D38FEF

    oklch(75.2% 0.151 315.6)

  • #BCB324

    #BCB324

    oklch(75.1% 0.151 105.6)

  • #22CC98

    #22CC98

    oklch(75.2% 0.15 165.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D38FEF

    #D38FEF

    oklch(75.2% 0.151 315.6)

  • #E59F20

    #E59F20

    oklch(75.2% 0.151 75.5)

  • #00C7C8

    #00C7C8

    oklch(75.2% 0.128 195.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D38FEF

    #D38FEF

    oklch(75.2% 0.151 315.6)

  • #FB8D57

    #FB8D57

    oklch(75.2% 0.15 45.7)

  • #82C45E

    #82C45E

    oklch(75.3% 0.151 135.7)

  • #00C0F3

    #00C0F3

    oklch(75.2% 0.143 225.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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