#E297FA#E297FA

#E297FA is a light, vivid purple. Relative luminance 0.452; OKLCH L 78.5% C 0.157 H 317.7°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#E297FA
RGBrgb(226, 151, 250)
HSLhsl(285, 91%, 79%)
HSVhsv(285, 40%, 98%)
CMYKcmyk(9.6%, 39.6%, 0%, 2%)
CIE-LABlab(73.03, 44.42, -38.29)
CIE-LCHlch(73.03, 58.65, 319.24°)
OKLaboklab(78.55% 0.1158 -0.1054)
OKLCHoklch(78.55% 0.157 317.7)
XYZxyz(59.6835, 45.2058, 96.0056)
Luminance0.4520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E297FA #AFFA97
analogous
#B097FA #E297FA #FA97E0
triadic
#E297FA #FAE297 #97FAE2
tetradic
#E297FA #FAB097 #AFFA97 #97E0FA
square
#E297FA #FAB097 #AFFA97 #97E0FA
split-complementary
#E297FA #E0FA97 #97FAB0
monochromatic
#C122F4 #D25DF7 #E297FA #F2D1FD #F7E2FE

Accessibility & contrast

On white

2.09
#E297FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#E297FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E297FA
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E297FA#FFFFFF#000000##000000
##E297FA1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AEFE
Deuteranopia (green-blind)
#9BB6F7
Tritanopia (blue-blind)
#E2A4BD
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e297fa;
/* rgb */ color: rgb(226, 151, 250);
/* oklch */ color: oklch(78.5% 0.157 317.7);
Tailwind
colors: {
  custom: {
    50: '#ecb7fc',
    500: '#e297fa',
    950: '#000000',
  },
}
SCSS
$custom: #e297fa;
$custom-light: #ecb7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e297fa",
  "rgb": {
    "r": 226,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 285.455,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78545,
    "c": 0.15656,
    "h": 317.7
  },
  "luminance": 0.45204
}

Semantic roles & 50–950 ramp

primary
#E297FA
secondary
#DDF6D5
accent
#E60038
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E297FA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E297FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva