#E299FC#E299FC

#E299FC is a light, vivid purple. Relative luminance 0.460; OKLCH L 79.0% C 0.155 H 316.8°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#E299FC
RGBrgb(226, 153, 252)
HSLhsl(284, 94%, 79%)
HSVhsv(284, 39%, 99%)
CMYKcmyk(10.3%, 39.3%, 0%, 1.2%)
CIE-LABlab(73.53, 43.77, -38.59)
CIE-LCHlch(73.53, 58.35, 318.60°)
OKLaboklab(78.95% 0.1133 -0.1063)
OKLCHoklch(78.95% 0.155 316.8)
XYZxyz(60.3234, 45.9811, 97.7741)
Luminance0.4598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E299FC #B3FC99
analogous
#B199FC #E299FC #FC99E5
triadic
#E299FC #FCE299 #99FCE2
tetradic
#E299FC #FCB199 #B3FC99 #99E5FC
square
#E299FC #FCB199 #B3FC99 #99E5FC
split-complementary
#E299FC #E5FC99 #99FCB1
monochromatic
#C022F9 #D15EFA #E299FC #F3D4FE #F7E1FE

Accessibility & contrast

On white

2.06
#E299FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#E299FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E299FC
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E299FC#FFFFFF#000000##000000
##E299FC1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B0FF
Deuteranopia (green-blind)
#9CB7F9
Tritanopia (blue-blind)
#E1A6BF
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #e299fc;
/* rgb */ color: rgb(226, 153, 252);
/* oklch */ color: oklch(79.0% 0.155 316.8);
Tailwind
colors: {
  custom: {
    50: '#ecb8fd',
    500: '#e299fc',
    950: '#000000',
  },
}
SCSS
$custom: #e299fc;
$custom-light: #ecb8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e299fc",
  "rgb": {
    "r": 226,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 284.242,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.78953,
    "c": 0.15535,
    "h": 316.8
  },
  "luminance": 0.45979
}

Semantic roles & 50–950 ramp

primary
#E299FC
secondary
#DEF6D5
accent
#E6003C
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E299FC

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

Preview Lab → · Contrast checker → · Palette generator →

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