#E299F2#E299F2

#E299F2 is a light, vivid purple. Relative luminance 0.454; OKLCH L 78.5% C 0.145 H 320.2°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#E299F2
RGBrgb(226, 153, 242)
HSLhsl(289, 77%, 77%)
HSVhsv(289, 37%, 95%)
CMYKcmyk(6.6%, 36.8%, 0%, 5.1%)
CIE-LABlab(73.13, 41.81, -33.78)
CIE-LCHlch(73.13, 53.75, 321.06°)
OKLaboklab(78.52% 0.1112 -0.0925)
OKLCHoklch(78.52% 0.145 320.2)
XYZxyz(58.7803, 45.3638, 89.6469)
Luminance0.4536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E299F2 #A9F299
analogous
#B599F2 #E299F2 #F299D6
triadic
#E299F2 #F2E299 #99F2E2
tetradic
#E299F2 #F2B599 #A9F299 #99D6F2
square
#E299F2 #F2B599 #A9F299 #99D6F2
split-complementary
#E299F2 #D6F299 #99F2B5
monochromatic
#C32CE4 #D363EB #E299F2 #F1CFF9 #F7E4FC

Accessibility & contrast

On white

2.08
#E299F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#E299F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E299F2
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E299F2#FFFFFF#000000##000000
##E299F21.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAEF5
Deuteranopia (green-blind)
#A0B6EF
Tritanopia (blue-blind)
#E3A3BA
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e299f2;
/* rgb */ color: rgb(226, 153, 242);
/* oklch */ color: oklch(78.5% 0.145 320.2);
Tailwind
colors: {
  custom: {
    50: '#ecb8f6',
    500: '#e299f2',
    950: '#000000',
  },
}
SCSS
$custom: #e299f2;
$custom-light: #ecb8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#e299f2",
  "rgb": {
    "r": 226,
    "g": 153,
    "b": 242
  },
  "hsl": {
    "h": 289.213,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.78517,
    "c": 0.14468,
    "h": 320.2
  },
  "luminance": 0.45362
}

Semantic roles & 50–950 ramp

primary
#E299F2
secondary
#DDF3D8
accent
#DA0C31
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #E299F2

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

Preview Lab → · Contrast checker → · Palette generator →

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