#E298FF#E298FF

#E298FF is a light, vivid purple. Relative luminance 0.458; OKLCH L 78.9% C 0.160 H 316.0°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#E298FF
RGBrgb(226, 152, 255)
HSLhsl(283, 100%, 80%)
HSVhsv(283, 40%, 100%)
CMYKcmyk(11.4%, 40.4%, 0%, 0%)
CIE-LABlab(73.45, 44.89, -40.35)
CIE-LCHlch(73.45, 60.36, 318.05°)
OKLaboklab(78.93% 0.1153 -0.1113)
OKLCHoklch(78.93% 0.16 316)
XYZxyz(60.6396, 45.8468, 100.2433)
Luminance0.4585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E298FF #B5FF98
analogous
#AF98FF #E298FF #FF98E8
triadic
#E298FF #FFE298 #98FFE2
tetradic
#E298FF #FFAF98 #B5FF98 #98E8FF
square
#E298FF #FFAF98 #B5FF98 #98E8FF
split-complementary
#E298FF #E8FF98 #98FFAF
monochromatic
#C01EFF #D15BFF #E298FF #F3D5FF #F6E0FF

Accessibility & contrast

On white

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

On black

10.17
#E298FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E298FF
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E298FF#FFFFFF#000000##000000
##E298FF1.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87B0FF
Deuteranopia (green-blind)
#9AB7FC
Tritanopia (blue-blind)
#E1A6C0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e298ff;
/* rgb */ color: rgb(226, 152, 255);
/* oklch */ color: oklch(78.9% 0.160 316.0);
Tailwind
colors: {
  custom: {
    50: '#ecb7ff',
    500: '#e298ff',
    950: '#000000',
  },
}
SCSS
$custom: #e298ff;
$custom-light: #ecb7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e298ff",
  "rgb": {
    "r": 226,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 283.107,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.78928,
    "c": 0.16028,
    "h": 316
  },
  "luminance": 0.45845
}

Semantic roles & 50–950 ramp

primary
#E298FF
secondary
#DEF7D4
accent
#E60041
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #E298FF

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

Preview Lab → · Contrast checker → · Palette generator →

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