#E298FC#E298FC

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

Color values

HEX#E298FC
RGBrgb(226, 152, 252)
HSLhsl(284, 94%, 79%)
HSVhsv(284, 40%, 99%)
CMYKcmyk(10.3%, 39.7%, 0%, 1.2%)
CIE-LABlab(73.32, 44.29, -38.92)
CIE-LCHlch(73.32, 58.96, 318.70°)
OKLaboklab(78.79% 0.1148 -0.1072)
OKLCHoklch(78.79% 0.157 316.9)
XYZxyz(60.1604, 45.6551, 97.7198)
Luminance0.4565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E298FC #B2FC98
analogous
#B098FC #E298FC #FC98E4
triadic
#E298FC #FCE298 #98FCE2
tetradic
#E298FC #FCB098 #B2FC98 #98E4FC
square
#E298FC #FCB098 #B2FC98 #98E4FC
split-complementary
#E298FC #E4FC98 #98FCB0
monochromatic
#C121F9 #D15DFA #E298FC #F3D3FE #F7E1FE

Accessibility & contrast

On white

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

On black

10.13
#E298FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E298FC
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E298FC#FFFFFF#000000##000000
##E298FC1.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AFFF
Deuteranopia (green-blind)
#9BB6F9
Tritanopia (blue-blind)
#E2A5BE
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e298fc;
/* rgb */ color: rgb(226, 152, 252);
/* oklch */ color: oklch(78.8% 0.157 316.9);
Tailwind
colors: {
  custom: {
    50: '#ecb7fd',
    500: '#e298fc',
    950: '#000000',
  },
}
SCSS
$custom: #e298fc;
$custom-light: #ecb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e298fc",
  "rgb": {
    "r": 226,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 284.4,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.78793,
    "c": 0.15703,
    "h": 316.9
  },
  "luminance": 0.45653
}

Semantic roles & 50–950 ramp

primary
#E298FC
secondary
#DDF6D5
accent
#E6003C
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E298FC

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

Preview Lab → · Contrast checker → · Palette generator →

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