#E7ACFB

Closest named color: Light Violet (#D6B4FC). oklch(82.5% 0.125 317.4), rgb(231, 172, 251).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (83%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.69:1
White text1.79:1

Values

HEX#E7ACFB
RGBrgb(231, 172, 251)
HSLhsl(285, 91%, 83%)
OKLCHoklch(82.5% 0.125 317.4)

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 #E7ACFB 1.79:1 Fails Lc -37.2 Non-text elements, placeholder text
Black text on #E7ACFB 11.69:1 AAA Lc 70.7 Content text, not long reading
#E7ACFB text on white 1.79:1 Fails Lc 33.2 Non-text elements, placeholder text
#E7ACFB text on black 11.69:1 AAA Lc -69.5 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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F4E3FA

    oklch(93.6% 0.036 317.3)

  3. Step 200

    200

    #ECCBF8

    oklch(88.4% 0.07 317)

  4. Step 300

    300 (this color)

    #E7ACFB

    oklch(82.5% 0.125 317.4)

  5. Step 400

    400

    #D172F0

    oklch(70.7% 0.198 317.2)

  6. Step 500

    500

    #C440EB

    oklch(63.1% 0.254 317.2)

  7. Step 600

    600

    #AF00D7

    oklch(55.7% 0.271 317.4)

  8. Step 700

    700

    #9400B6

    oklch(49.2% 0.239 317.5)

  9. Step 800

    800

    #7A0097

    oklch(42.8% 0.208 317.3)

  10. Step 900

    900

    #631279

    oklch(37.7% 0.166 317.5)

  11. Step 950

    950

    #3A0F47

    oklch(27% 0.104 317.2)

Export this scale for Tailwind in the Tailwind colors tool

#E7ACFB 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)#A1BDFE0.102
Deuteranopia (no green cones)#AFC3F80.094
Tritanopia (no blue cones)#E7B5C90.082
Achromatopsia (no color)#C1C1C10.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7ACFB

    #E7ACFB

    oklch(82.5% 0.125 317.4)

  • #9ED988

    #9ED988

    oklch(82.5% 0.125 137.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7ACFB

    #E7ACFB

    oklch(82.5% 0.125 317.4)

  • #C2BDFF

    #C2BDFF

    oklch(82.6% 0.092 287.7)

  • #FFA6D4

    #FFA6D4

    oklch(82.6% 0.119 347.7)

Open the analogous palette in the generator

Split complementary

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

  • #E7ACFB

    #E7ACFB

    oklch(82.5% 0.125 317.4)

  • #CECC66

    #CECC66

    oklch(82.6% 0.125 107.8)

  • #69E0B5

    #69E0B5

    oklch(82.6% 0.125 167)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7ACFB

    #E7ACFB

    oklch(82.5% 0.125 317.4)

  • #F3BB62

    #F3BB62

    oklch(82.6% 0.124 77.2)

  • #45DEE2

    #45DEE2

    oklch(82.5% 0.124 197.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7ACFB

    #E7ACFB

    oklch(82.5% 0.125 317.4)

  • #FFB18A

    #FFB18A

    oklch(82.6% 0.106 47.4)

  • #9ED988

    #9ED988

    oklch(82.5% 0.125 137.5)

  • #6DD5FF

    #6DD5FF

    oklch(82.7% 0.113 227)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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