#E298F7

Closest named color: Lilac (#CEA2FD). oklch(78.6% 0.152 318.6), rgb(226, 152, 247).

Aa

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

About this color

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

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

Values

HEX#E298F7
RGBrgb(226, 152, 247)
HSLhsl(287, 86%, 78%)
OKLCHoklch(78.6% 0.152 318.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 #E298F7 2.08:1 Fails Lc -45.2 Large or bold text, headings
Black text on #E298F7 10.06:1 AAA Lc 63.3 Content text, not long reading
#E298F7 text on white 2.08:1 Fails Lc 40.6 Non-text elements, placeholder text
#E298F7 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

    #FCF1FE

    oklch(97% 0.021 321)

  2. Step 100

    100

    #F7E1FD

    oklch(93.6% 0.044 319)

  3. Step 200

    200

    #F1C8FD

    oklch(88.5% 0.084 318.5)

  4. Step 300

    300 (this color)

    #E298F7

    oklch(78.6% 0.152 318.6)

  5. Step 400

    400

    #DD60FF

    oklch(70.7% 0.243 318.4)

  6. Step 500

    500

    #D100FB

    oklch(63.2% 0.305 318.5)

  7. Step 600

    600

    #B000D4

    oklch(55.6% 0.269 318.5)

  8. Step 700

    700

    #9500B3

    oklch(49.1% 0.237 318.7)

  9. Step 800

    800

    #7B0094

    oklch(42.7% 0.206 318.8)

  10. Step 900

    900

    #67007D

    oklch(37.7% 0.182 318.5)

  11. Step 950

    950

    #3F014D

    oklch(27% 0.129 318.7)

Export this scale for Tailwind in the Tailwind colors tool

#E298F7 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)#8AAFFB0.130
Deuteranopia (no green cones)#9DB6F40.118
Tritanopia (no blue cones)#E3A4BC0.099
Achromatopsia (no color)#B3B3B30.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #E298F7

    #E298F7

    oklch(78.6% 0.152 318.6)

  • #85D06E

    #85D06E

    oklch(78.6% 0.151 138.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E298F7

    #E298F7

    oklch(78.6% 0.152 318.6)

  • #B6ADFF

    #B6ADFF

    oklch(78.6% 0.116 288.5)

  • #FF8EC9

    #FF8EC9

    oklch(78.5% 0.152 348.6)

Open the analogous palette in the generator

Split complementary

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

  • #E298F7

    #E298F7

    oklch(78.6% 0.152 318.6)

  • #C2C038

    #C2C038

    oklch(78.6% 0.151 108.6)

  • #25D8A8

    #25D8A8

    oklch(78.7% 0.152 168.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E298F7

    #E298F7

    oklch(78.6% 0.152 318.6)

  • #EDAC2C

    #EDAC2C

    oklch(78.6% 0.152 78.8)

  • #00D3D9

    #00D3D9

    oklch(78.7% 0.134 198.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E298F7

    #E298F7

    oklch(78.6% 0.152 318.6)

  • #FF9D67

    #FF9D67

    oklch(78.6% 0.136 48.8)

  • #85D06E

    #85D06E

    oklch(78.6% 0.151 138.7)

  • #3CC9FF

    #3CC9FF

    oklch(78.5% 0.138 228.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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