#E08AFB#E08AFB

#E08AFB is a light, vivid purple. Relative luminance 0.410; OKLCH L 76.4% C 0.178 H 317.7°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#E08AFB
RGBrgb(224, 138, 251)
HSLhsl(286, 93%, 76%)
HSVhsv(286, 45%, 98%)
CMYKcmyk(10.8%, 45%, 0%, 1.6%)
CIE-LABlab(70.17, 50.81, -43.31)
CIE-LCHlch(70.17, 66.77, 319.56°)
OKLaboklab(76.37% 0.1318 -0.1198)
OKLCHoklch(76.37% 0.178 317.7)
XYZxyz(57.2391, 40.9911, 96.1450)
Luminance0.4099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E08AFB #A5FB8A
analogous
#A88AFB #E08AFB #FB8ADE
triadic
#E08AFB #FBE08A #8AFBE0
tetradic
#E08AFB #FBA88A #A5FB8A #8ADEFB
square
#E08AFB #FBA88A #A5FB8A #8ADEFB
split-complementary
#E08AFB #DEFB8A #8AFBA8
monochromatic
#C114F7 #D04FF9 #E08AFB #F0C5FD #F7E1FE

Accessibility & contrast

On white

2.28
#E08AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#E08AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E08AFB
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E08AFB#FFFFFF#000000##000000
##E08AFB1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FF
Deuteranopia (green-blind)
#8FAEF8
Tritanopia (blue-blind)
#E099B7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #e08afb;
/* rgb */ color: rgb(224, 138, 251);
/* oklch */ color: oklch(76.4% 0.178 317.7);
Tailwind
colors: {
  custom: {
    50: '#ebaefd',
    500: '#e08afb',
    950: '#000000',
  },
}
SCSS
$custom: #e08afb;
$custom-light: #ebaefd;
$custom-dark: #000000;
JSON
{
  "hex": "#e08afb",
  "rgb": {
    "r": 224,
    "g": 138,
    "b": 251
  },
  "hsl": {
    "h": 285.664,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76371,
    "c": 0.17808,
    "h": 317.7
  },
  "luminance": 0.40989
}

Semantic roles & 50–950 ramp

primary
#E08AFB
secondary
#DDF6D5
accent
#E60037
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #E08AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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