#E27DFB#E27DFB

#E27DFB is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.7% C 0.200 H 319.4°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#E27DFB
RGBrgb(226, 125, 251)
HSLhsl(288, 94%, 74%)
HSVhsv(288, 50%, 98%)
CMYKcmyk(10%, 50.2%, 0%, 1.6%)
CIE-LABlab(67.88, 57.90, -46.89)
CIE-LCHlch(67.88, 74.51, 321.00°)
OKLaboklab(74.72% 0.1516 -0.13)
OKLCHoklch(74.72% 0.2 319.4)
XYZxyz(56.1080, 37.8032, 95.5893)
Luminance0.3780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E27DFB #96FB7D
analogous
#A37DFB #E27DFB #FB7DD5
triadic
#E27DFB #FBE27D #7DFBE2
tetradic
#E27DFB #FBA37D #96FB7D #7DD5FB
square
#E27DFB #FBA37D #96FB7D #7DD5FB
split-complementary
#E27DFB #D5FB7D #7DFBA3
monochromatic
#C708F6 #D542F9 #E27DFB #EFB8FD #F8E1FE

Accessibility & contrast

On white

2.45
#E27DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#E27DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E27DFB
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E27DFB#FFFFFF#000000##000000
##E27DFB1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFF
Deuteranopia (green-blind)
#85A9F8
Tritanopia (blue-blind)
#E38FB1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e27dfb;
/* rgb */ color: rgb(226, 125, 251);
/* oklch */ color: oklch(74.7% 0.200 319.4);
Tailwind
colors: {
  custom: {
    50: '#eda6fd',
    500: '#e27dfb',
    950: '#000000',
  },
}
SCSS
$custom: #e27dfb;
$custom-light: #eda6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e27dfb",
  "rgb": {
    "r": 226,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 288.095,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74718,
    "c": 0.19972,
    "h": 319.4
  },
  "luminance": 0.37801
}

Semantic roles & 50–950 ramp

primary
#E27DFB
secondary
#DBF6D5
accent
#E6002E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #E27DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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