#D38AF2

Closest named color: Liliac (#C48EFD). oklch(74.6% 0.162 315.2), rgb(211, 138, 242).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.162)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.68:1
White text2.41:1

Values

HEX#D38AF2
RGBrgb(211, 138, 242)
HSLhsl(282, 80%, 75%)
OKLCHoklch(74.6% 0.162 315.2)

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 #D38AF2 2.41:1 Fails Lc -52.4 Large or bold text, headings
Black text on #D38AF2 8.68:1 AAA Lc 56.6 Large or bold text, headings
#D38AF2 text on white 2.41:1 Fails Lc 47.4 Large or bold text, headings
#D38AF2 text on black 8.68:1 AAA Lc -54.7 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

    #F2E4F8

    oklch(93.6% 0.031 315.9)

  3. Step 200

    200

    #E8CEF3

    oklch(88.4% 0.057 315.9)

  4. Step 300

    300

    #DAADEE

    oklch(81% 0.102 315.3)

  5. Step 400

    400 (this color)

    #D38AF2

    oklch(74.6% 0.162 315.2)

  6. Step 500

    500

    #B757DD

    oklch(63% 0.208 315.2)

  7. Step 600

    600

    #A335CB

    oklch(55.6% 0.226 315.2)

  8. Step 700

    700

    #8B25AF

    oklch(49% 0.21 315.2)

  9. Step 800

    800

    #71228E

    oklch(42.7% 0.174 315.1)

  10. Step 900

    900

    #5C2371

    oklch(37.7% 0.135 315.6)

  11. Step 950

    950

    #361642

    oklch(27% 0.085 315.8)

Export this scale for Tailwind in the Tailwind colors tool

#D38AF2 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)#77A2F60.136
Deuteranopia (no green cones)#8AA9EF0.124
Tritanopia (no blue cones)#D199B30.109
Achromatopsia (no color)#A7A7A70.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #D38AF2

    #D38AF2

    oklch(74.6% 0.162 315.2)

  • #7DC352

    #7DC352

    oklch(74.6% 0.163 135.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D38AF2

    #D38AF2

    oklch(74.6% 0.162 315.2)

  • #A49FFF

    #A49FFF

    oklch(74.5% 0.137 284.9)

  • #F37EC3

    #F37EC3

    oklch(74.5% 0.163 345.4)

Open the analogous palette in the generator

Split complementary

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

  • #D38AF2

    #D38AF2

    oklch(74.6% 0.162 315.2)

  • #BCB100

    #BCB100

    oklch(74.6% 0.158 105.1)

  • #00CB94

    #00CB94

    oklch(74.6% 0.157 165.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D38AF2

    #D38AF2

    oklch(74.6% 0.162 315.2)

  • #E59C00

    #E59C00

    oklch(74.6% 0.157 75.4)

  • #00C5C6

    #00C5C6

    oklch(74.6% 0.127 195.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D38AF2

    #D38AF2

    oklch(74.6% 0.162 315.2)

  • #FE874C

    #FE874C

    oklch(74.5% 0.162 45.4)

  • #7DC352

    #7DC352

    oklch(74.6% 0.163 135.2)

  • #00BEF0

    #00BEF0

    oklch(74.6% 0.142 225.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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