#D38FF2

Closest named color: Baby Purple (#CA9BF7). oklch(75.4% 0.154 314.6), rgb(211, 143, 242).

Aa

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

About this color

#D38FF2 is a medium-light, vivid purple. In OKLCH its lightness is 75%, its chroma 0.154 and its hue 315°. 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.98:1.

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

Values

HEX#D38FF2
RGBrgb(211, 143, 242)
HSLhsl(281, 79%, 75%)
OKLCHoklch(75.4% 0.154 314.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 #D38FF2 2.33:1 Fails Lc -50.8 Large or bold text, headings
Black text on #D38FF2 8.98:1 AAA Lc 58.1 Large or bold text, headings
#D38FF2 text on white 2.33:1 Fails Lc 45.9 Large or bold text, headings
#D38FF2 text on black 8.98:1 AAA Lc -56.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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200

    #E7CFF2

    oklch(88.5% 0.054 315.3)

  4. Step 300

    300

    #D8AEEC

    oklch(80.9% 0.097 314.7)

  5. Step 400

    400 (this color)

    #D38FF2

    oklch(75.4% 0.154 314.6)

  6. Step 500

    500

    #B45CDA

    oklch(63.1% 0.197 314.5)

  7. Step 600

    600

    #A03CC7

    oklch(55.6% 0.214 314.8)

  8. Step 700

    700

    #892CAC

    oklch(49.1% 0.199 314.9)

  9. Step 800

    800

    #6F278B

    oklch(42.7% 0.164 314.8)

  10. Step 900

    900

    #5A266F

    oklch(37.7% 0.128 314.9)

  11. Step 950

    950

    #351741

    oklch(27% 0.082 315.3)

Export this scale for Tailwind in the Tailwind colors tool

#D38FF2 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)#7DA5F60.127
Deuteranopia (no green cones)#8FABEF0.115
Tritanopia (no blue cones)#D19DB50.105
Achromatopsia (no color)#A9A9A90.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #D38FF2

    #D38FF2

    oklch(75.4% 0.154 314.6)

  • #84C45A

    #84C45A

    oklch(75.4% 0.154 134.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D38FF2

    #D38FF2

    oklch(75.4% 0.154 314.6)

  • #A6A2FF

    #A6A2FF

    oklch(75.3% 0.132 284.7)

  • #F284C6

    #F284C6

    oklch(75.3% 0.154 344.5)

Open the analogous palette in the generator

Split complementary

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

  • #D38FF2

    #D38FF2

    oklch(75.4% 0.154 314.6)

  • #BFB31A

    #BFB31A

    oklch(75.3% 0.154 104.5)

  • #1ECD96

    #1ECD96

    oklch(75.4% 0.154 164.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D38FF2

    #D38FF2

    oklch(75.4% 0.154 314.6)

  • #E79E19

    #E79E19

    oklch(75.2% 0.154 74.6)

  • #00C8C8

    #00C8C8

    oklch(75.4% 0.129 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D38FF2

    #D38FF2

    oklch(75.4% 0.154 314.6)

  • #FE8C57

    #FE8C57

    oklch(75.5% 0.154 44.6)

  • #84C45A

    #84C45A

    oklch(75.4% 0.154 134.5)

  • #00C1F2

    #00C1F2

    oklch(75.4% 0.142 224.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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