#E295F8#E295F8

#E295F8 is a light, vivid purple. Relative luminance 0.444; OKLCH L 78.1% C 0.158 H 318.5°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#E295F8
RGBrgb(226, 149, 248)
HSLhsl(287, 88%, 78%)
HSVhsv(287, 40%, 97%)
CMYKcmyk(8.9%, 39.9%, 0%, 2.7%)
CIE-LABlab(72.52, 45.08, -37.98)
CIE-LCHlch(72.52, 58.95, 319.88°)
OKLaboklab(78.14% 0.1182 -0.1045)
OKLCHoklch(78.14% 0.158 318.5)
XYZxyz(59.0525, 44.4427, 94.2563)
Luminance0.4444 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E295F8 #ABF895
analogous
#B095F8 #E295F8 #F895DC
triadic
#E295F8 #F8E295 #95F8E2
tetradic
#E295F8 #F8B095 #ABF895 #95DCF8
square
#E295F8 #F8B095 #ABF895 #95DCF8
split-complementary
#E295F8 #DCF895 #95F8B0
monochromatic
#C322F0 #D25CF4 #E295F8 #F2CEFC #F7E2FD

Accessibility & contrast

On white

2.12
#E295F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#E295F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E295F8
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E295F8#FFFFFF#000000##000000
##E295F81.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ADFC
Deuteranopia (green-blind)
#9AB5F5
Tritanopia (blue-blind)
#E2A1BB
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #e295f8;
/* rgb */ color: rgb(226, 149, 248);
/* oklch */ color: oklch(78.1% 0.158 318.5);
Tailwind
colors: {
  custom: {
    50: '#ecb5fb',
    500: '#e295f8',
    950: '#000000',
  },
}
SCSS
$custom: #e295f8;
$custom-light: #ecb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e295f8",
  "rgb": {
    "r": 226,
    "g": 149,
    "b": 248
  },
  "hsl": {
    "h": 286.667,
    "s": 87.611,
    "l": 77.843
  },
  "oklch": {
    "l": 0.78139,
    "c": 0.15777,
    "h": 318.5
  },
  "luminance": 0.44441
}

Semantic roles & 50–950 ramp

primary
#E295F8
secondary
#DDF5D6
accent
#E40134
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #E295F8

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

Preview Lab → · Contrast checker → · Palette generator →

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