#D4BAFF

Closest named color: Light Violet (#D6B4FC). oklch(83.5% 0.099 301.6), rgb(212, 186, 255).

Aa

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

About this color

#D4BAFF is a light, moderately saturated purple. In OKLCH its lightness is 83%, its chroma 0.099 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.014 away. Black text reads best on it, at 12.26:1.

Hue familyPurples
Lightnesslight (83%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text12.26:1
White text1.71:1

Values

HEX#D4BAFF
RGBrgb(212, 186, 255)
HSLhsl(263, 100%, 86%)
OKLCHoklch(83.5% 0.099 301.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 #D4BAFF 1.71:1 Fails Lc -34.5 Non-text elements, placeholder text
Black text on #D4BAFF 12.26:1 AAA Lc 73.1 Content text, not long reading
#D4BAFF text on white 1.71:1 Fails Lc 30.7 Non-text elements, placeholder text
#D4BAFF text on black 12.26:1 AAA Lc -72.1 Content text, not long reading

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 300.

  1. Step 50

    50

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EDE6FA

    oklch(93.6% 0.028 301.7)

  3. Step 200

    200

    #DFD1F8

    oklch(88.4% 0.055 301.6)

  4. Step 300

    300 (this color)

    #D4BAFF

    oklch(83.5% 0.099 301.6)

  5. Step 400

    400

    #B386F2

    oklch(70.7% 0.158 301.7)

  6. Step 500

    500

    #A163ED

    oklch(63.1% 0.201 301.6)

  7. Step 600

    600

    #8D44DB

    oklch(55.6% 0.219 301.7)

  8. Step 700

    700

    #7834BE

    oklch(49.1% 0.203 301.7)

  9. Step 800

    800

    #612D9A

    oklch(42.7% 0.168 301.4)

  10. Step 900

    900

    #4F2A7A

    oklch(37.6% 0.131 301.7)

  11. Step 950

    950

    #2E1A48

    oklch(27% 0.083 301.1)

Export this scale for Tailwind in the Tailwind colors tool

#D4BAFF 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)#ACC5FF0.058
Deuteranopia (no green cones)#B0C6FD0.055
Tritanopia (no blue cones)#CDC4D20.078
Achromatopsia (no color)#C6C6C60.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4BAFF

    #D4BAFF

    oklch(83.5% 0.099 301.6)

  • #BED38A

    #BED38A

    oklch(83.4% 0.099 121.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4BAFF

    #D4BAFF

    oklch(83.5% 0.099 301.6)

  • #B5C6FF

    #B5C6FF

    oklch(83.4% 0.082 271.6)

  • #EFB1E6

    #EFB1E6

    oklch(83.4% 0.099 331.5)

Open the analogous palette in the generator

Split complementary

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

  • #D4BAFF

    #D4BAFF

    oklch(83.5% 0.099 301.6)

  • #E0C77C

    #E0C77C

    oklch(83.4% 0.099 91.6)

  • #98DCA9

    #98DCA9

    oklch(83.6% 0.099 151.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4BAFF

    #D4BAFF

    oklch(83.5% 0.099 301.6)

  • #F8BA86

    #F8BA86

    oklch(83.4% 0.098 60.8)

  • #79DECD

    #79DECD

    oklch(83.4% 0.099 181.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4BAFF

    #D4BAFF

    oklch(83.5% 0.099 301.6)

  • #FFB3A4

    #FFB3A4

    oklch(83.5% 0.092 31.5)

  • #BED38A

    #BED38A

    oklch(83.4% 0.099 121.6)

  • #75DAEE

    #75DAEE

    oklch(83.4% 0.098 212)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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