#E298FA#E298FA

#E298FA is a light, vivid purple. Relative luminance 0.455; OKLCH L 78.7% C 0.155 H 317.6°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#E298FA
RGBrgb(226, 152, 250)
HSLhsl(285, 91%, 79%)
HSVhsv(285, 39%, 98%)
CMYKcmyk(9.6%, 39.2%, 0%, 2%)
CIE-LABlab(73.24, 43.90, -37.96)
CIE-LCHlch(73.24, 58.03, 319.15°)
OKLaboklab(78.7% 0.1144 -0.1045)
OKLCHoklch(78.7% 0.155 317.6)
XYZxyz(59.8452, 45.5290, 96.0594)
Luminance0.4553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E298FA #B0FA98
analogous
#B198FA #E298FA #FA98E1
triadic
#E298FA #FAE298 #98FAE2
tetradic
#E298FA #FAB198 #B0FA98 #98E1FA
square
#E298FA #FAB198 #B0FA98 #98E1FA
split-complementary
#E298FA #E1FA98 #98FAB1
monochromatic
#C123F4 #D25EF7 #E298FA #F2D2FD #F7E2FE

Accessibility & contrast

On white

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

On black

10.11
#E298FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E298FA
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E298FA#FFFFFF#000000##000000
##E298FA1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AFFE
Deuteranopia (green-blind)
#9CB6F7
Tritanopia (blue-blind)
#E2A4BD
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #e298fa;
/* rgb */ color: rgb(226, 152, 250);
/* oklch */ color: oklch(78.7% 0.155 317.6);
Tailwind
colors: {
  custom: {
    50: '#ecb7fc',
    500: '#e298fa',
    950: '#000000',
  },
}
SCSS
$custom: #e298fa;
$custom-light: #ecb7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#e298fa",
  "rgb": {
    "r": 226,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 285.306,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.78704,
    "c": 0.15488,
    "h": 317.6
  },
  "luminance": 0.45527
}

Semantic roles & 50–950 ramp

primary
#E298FA
secondary
#DDF6D5
accent
#E60038
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E298FA

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

Preview Lab → · Contrast checker → · Palette generator →

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