#D4B2FF

Closest named color: Light Violet (#D6B4FC). oklch(82% 0.112 304.3), rgb(212, 178, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (82%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.61:1
White text1.80:1

Values

HEX#D4B2FF
RGBrgb(212, 178, 255)
HSLhsl(266, 100%, 85%)
OKLCHoklch(82% 0.112 304.3)

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 #D4B2FF 1.80:1 Fails Lc -37.7 Non-text elements, placeholder text
Black text on #D4B2FF 11.61:1 AAA Lc 70.3 Content text, not long reading
#D4B2FF text on white 1.80:1 Fails Lc 33.6 Non-text elements, placeholder text
#D4B2FF text on black 11.61:1 AAA Lc -69.0 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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EEE5FC

    oklch(93.6% 0.032 303.5)

  3. Step 200

    200

    #E2D0FB

    oklch(88.6% 0.061 304.2)

  4. Step 300

    300 (this color)

    #D4B2FF

    oklch(82% 0.112 304.3)

  5. Step 400

    400

    #BA80F9

    oklch(70.8% 0.178 304.4)

  6. Step 500

    500

    #A958F6

    oklch(63.1% 0.228 304.1)

  7. Step 600

    600

    #9533E5

    oklch(55.6% 0.248 304.1)

  8. Step 700

    700

    #8022C7

    oklch(49.2% 0.231 304.4)

  9. Step 800

    800

    #6720A1

    oklch(42.6% 0.192 304)

  10. Step 900

    900

    #542380

    oklch(37.8% 0.149 304.1)

  11. Step 950

    950

    #31164B

    oklch(27% 0.095 304.1)

Export this scale for Tailwind in the Tailwind colors tool

#D4B2FF 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)#A3C0FF0.072
Deuteranopia (no green cones)#A9C1FD0.067
Tritanopia (no blue cones)#CDBDCE0.085
Achromatopsia (no color)#C1C1C10.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4B2FF

    #D4B2FF

    oklch(82% 0.112 304.3)

  • #B5D17F

    #B5D17F

    oklch(82.1% 0.111 124.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4B2FF

    #D4B2FF

    oklch(82% 0.112 304.3)

  • #B2C0FF

    #B2C0FF

    oklch(82% 0.09 274.6)

  • #F1A9E2

    #F1A9E2

    oklch(82.1% 0.111 334.2)

Open the analogous palette in the generator

Split complementary

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

  • #D4B2FF

    #D4B2FF

    oklch(82% 0.112 304.3)

  • #DBC36B

    #DBC36B

    oklch(81.9% 0.112 94.5)

  • #88DAA3

    #88DAA3

    oklch(82.1% 0.112 153.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4B2FF

    #D4B2FF

    oklch(82% 0.112 304.3)

  • #F7B575

    #F7B575

    oklch(82.1% 0.111 64.3)

  • #62DCCD

    #62DCCD

    oklch(82.1% 0.112 184.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4B2FF

    #D4B2FF

    oklch(82% 0.112 304.3)

  • #FFAC98

    #FFAC98

    oklch(82% 0.102 34.1)

  • #B5D17F

    #B5D17F

    oklch(82.1% 0.111 124.2)

  • #60D7F0

    #60D7F0

    oklch(82.1% 0.111 213.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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