#E297FC

Closest named color: Lilac (#CEA2FD). oklch(78.6% 0.159 317), rgb(226, 151, 252).

Aa

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

About this color

#E297FC is a light, vivid purple. In OKLCH its lightness is 79%, its chroma 0.159 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.038 away. Black text reads best on it, at 10.06:1.

Hue familyPurples
Lightnesslight (79%)
Chromavivid (0.159)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.06:1
White text2.08:1

Values

HEX#E297FC
RGBrgb(226, 151, 252)
HSLhsl(285, 94%, 79%)
OKLCHoklch(78.6% 0.159 317)

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 #E297FC 2.08:1 Fails Lc -45.2 Large or bold text, headings
Black text on #E297FC 10.06:1 AAA Lc 63.4 Content text, not long reading
#E297FC text on white 2.08:1 Fails Lc 40.6 Non-text elements, placeholder text
#E297FC text on black 10.06:1 AAA Lc -61.7 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

    #FBF1FF

    oklch(97% 0.021 316.5)

  2. Step 100

    100

    #F7E1FF

    oklch(93.6% 0.046 317.1)

  3. Step 200

    200

    #F0C8FF

    oklch(88.4% 0.085 316.7)

  4. Step 300

    300 (this color)

    #E297FC

    oklch(78.6% 0.159 317)

  5. Step 400

    400

    #D964FF

    oklch(70.7% 0.236 317)

  6. Step 500

    500

    #CF00FF

    oklch(63.2% 0.308 317.2)

  7. Step 600

    600

    #AE00D8

    oklch(55.6% 0.271 316.9)

  8. Step 700

    700

    #9300B7

    oklch(49.1% 0.24 316.9)

  9. Step 800

    800

    #790097

    oklch(42.6% 0.208 316.9)

  10. Step 900

    900

    #66007F

    oklch(37.7% 0.184 317.2)

  11. Step 950

    950

    #3E004F

    oklch(26.9% 0.131 316.9)

Export this scale for Tailwind in the Tailwind colors tool

#E297FC 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)#87AFFF0.134
Deuteranopia (no green cones)#9AB6F90.122
Tritanopia (no blue cones)#E2A4BE0.104
Achromatopsia (no color)#B3B3B30.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #E297FC

    #E297FC

    oklch(78.6% 0.159 317)

  • #86D066

    #86D066

    oklch(78.5% 0.159 137.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E297FC

    #E297FC

    oklch(78.6% 0.159 317)

  • #B4AEFF

    #B4AEFF

    oklch(78.6% 0.114 286.8)

  • #FF8ECC

    #FF8ECC

    oklch(78.6% 0.153 347.1)

Open the analogous palette in the generator

Split complementary

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

  • #E297FC

    #E297FC

    oklch(78.6% 0.159 317)

  • #C6BF28

    #C6BF28

    oklch(78.6% 0.158 106.7)

  • #14D9A4

    #14D9A4

    oklch(78.7% 0.159 167.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E297FC

    #E297FC

    oklch(78.6% 0.159 317)

  • #F1AA1D

    #F1AA1D

    oklch(78.6% 0.158 77.3)

  • #00D3D7

    #00D3D7

    oklch(78.6% 0.134 197.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E297FC

    #E297FC

    oklch(78.6% 0.159 317)

  • #FF9D6B

    #FF9D6B

    oklch(78.6% 0.134 47.2)

  • #86D066

    #86D066

    oklch(78.5% 0.159 137.1)

  • #32CAFF

    #32CAFF

    oklch(78.5% 0.141 227.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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