#E298FD#E298FD

#E298FD is a light, vivid purple. Relative luminance 0.457; OKLCH L 78.8% C 0.158 H 316.6°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#E298FD
RGBrgb(226, 152, 253)
HSLhsl(284, 96%, 79%)
HSVhsv(284, 40%, 99%)
CMYKcmyk(10.7%, 39.9%, 0%, 0.8%)
CIE-LABlab(73.36, 44.49, -39.39)
CIE-LCHlch(73.36, 59.43, 318.48°)
OKLaboklab(78.84% 0.1149 -0.1086)
OKLCHoklch(78.84% 0.158 316.6)
XYZxyz(60.3193, 45.7187, 98.5566)
Luminance0.4572 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E298FD #B3FD98
analogous
#B098FD #E298FD #FD98E6
triadic
#E298FD #FDE298 #98FDE2
tetradic
#E298FD #FDB098 #B3FD98 #98E6FD
square
#E298FD #FDB098 #B3FD98 #98E6FD
split-complementary
#E298FD #E6FD98 #98FDB0
monochromatic
#C020FB #D15CFC #E298FD #F3D4FE #F7E1FE

Accessibility & contrast

On white

2.07
#E298FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#E298FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E298FD
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E298FD#FFFFFF#000000##000000
##E298FD1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88B0FF
Deuteranopia (green-blind)
#9BB7FA
Tritanopia (blue-blind)
#E1A5BF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e298fd;
/* rgb */ color: rgb(226, 152, 253);
/* oklch */ color: oklch(78.8% 0.158 316.6);
Tailwind
colors: {
  custom: {
    50: '#ecb7fe',
    500: '#e298fd',
    950: '#000000',
  },
}
SCSS
$custom: #e298fd;
$custom-light: #ecb7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e298fd",
  "rgb": {
    "r": 226,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 283.96,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.78838,
    "c": 0.15811,
    "h": 316.6
  },
  "luminance": 0.45717
}

Semantic roles & 50–950 ramp

primary
#E298FD
secondary
#DEF7D4
accent
#E6003D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #E298FD

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

Preview Lab → · Contrast checker → · Palette generator →

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