#E296FC#E296FC

#E296FC is a light, vivid purple. Relative luminance 0.450; OKLCH L 78.5% C 0.160 H 317.1°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#E296FC
RGBrgb(226, 150, 252)
HSLhsl(285, 94%, 79%)
HSVhsv(285, 40%, 99%)
CMYKcmyk(10.3%, 40.5%, 0%, 1.2%)
CIE-LABlab(72.90, 45.35, -39.57)
CIE-LCHlch(72.90, 60.18, 318.89°)
OKLaboklab(78.48% 0.1176 -0.1091)
OKLCHoklch(78.48% 0.16 317.1)
XYZxyz(59.8385, 45.0114, 97.6125)
Luminance0.4501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E296FC #B0FC96
analogous
#AF96FC #E296FC #FC96E3
triadic
#E296FC #FCE296 #96FCE2
tetradic
#E296FC #FCAF96 #B0FC96 #96E3FC
square
#E296FC #FCAF96 #B0FC96 #96E3FC
split-complementary
#E296FC #E3FC96 #96FCAF
monochromatic
#C11FF9 #D25BFA #E296FC #F2D2FE #F7E1FE

Accessibility & contrast

On white

2.10
#E296FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#E296FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E296FC
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E296FC#FFFFFF#000000##000000
##E296FC1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#99B5F9
Tritanopia (blue-blind)
#E2A3BD
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #e296fc;
/* rgb */ color: rgb(226, 150, 252);
/* oklch */ color: oklch(78.5% 0.160 317.1);
Tailwind
colors: {
  custom: {
    50: '#ecb6fd',
    500: '#e296fc',
    950: '#000000',
  },
}
SCSS
$custom: #e296fc;
$custom-light: #ecb6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e296fc",
  "rgb": {
    "r": 226,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 284.706,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.78476,
    "c": 0.16036,
    "h": 317.1
  },
  "luminance": 0.4501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E296FC

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

Preview Lab → · Contrast checker → · Palette generator →

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