#E298FB#E298FB

#E298FB is a light, vivid purple. Relative luminance 0.456; OKLCH L 78.7% C 0.156 H 317.3°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#E298FB
RGBrgb(226, 152, 251)
HSLhsl(285, 93%, 79%)
HSVhsv(285, 39%, 98%)
CMYKcmyk(10%, 39.4%, 0%, 1.6%)
CIE-LABlab(73.28, 44.10, -38.44)
CIE-LCHlch(73.28, 58.50, 318.92°)
OKLaboklab(78.75% 0.1146 -0.1058)
OKLCHoklch(78.75% 0.156 317.3)
XYZxyz(60.0024, 45.5919, 96.8874)
Luminance0.4559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E298FB #B1FB98
analogous
#B198FB #E298FB #FB98E3
triadic
#E298FB #FBE298 #98FBE2
tetradic
#E298FB #FBB198 #B1FB98 #98E3FB
square
#E298FB #FBB198 #B1FB98 #98E3FB
split-complementary
#E298FB #E3FB98 #98FBB1
monochromatic
#C122F6 #D15DF9 #E298FB #F3D3FD #F7E2FE

Accessibility & contrast

On white

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

On black

10.12
#E298FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E298FB
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E298FB#FFFFFF#000000##000000
##E298FB1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e298fb;
/* rgb */ color: rgb(226, 152, 251);
/* oklch */ color: oklch(78.7% 0.156 317.3);
Tailwind
colors: {
  custom: {
    50: '#ecb7fd',
    500: '#e298fb',
    950: '#000000',
  },
}
SCSS
$custom: #e298fb;
$custom-light: #ecb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e298fb",
  "rgb": {
    "r": 226,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 284.848,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78749,
    "c": 0.15595,
    "h": 317.3
  },
  "luminance": 0.4559
}

Semantic roles & 50–950 ramp

primary
#E298FB
secondary
#DDF6D5
accent
#E6003A
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E298FB

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

Preview Lab → · Contrast checker → · Palette generator →

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