#EB8AFE#EB8AFE

#EB8AFE is a light, vivid purple. Relative luminance 0.430; OKLCH L 77.7% C 0.187 H 320.9°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#EB8AFE
RGBrgb(235, 138, 254)
HSLhsl(290, 98%, 77%)
HSVhsv(290, 46%, 100%)
CMYKcmyk(7.5%, 45.7%, 0%, 0.4%)
CIE-LABlab(71.55, 54.46, -42.69)
CIE-LCHlch(71.55, 69.20, 321.91°)
OKLaboklab(77.72% 0.1448 -0.1178)
OKLCHoklch(77.72% 0.187 320.9)
XYZxyz(61.2367, 42.9972, 98.8203)
Luminance0.4299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8AFE #9DFE8A
analogous
#B18AFE #EB8AFE #FE8AD7
triadic
#EB8AFE #FEEB8A #8AFEEB
tetradic
#EB8AFE #FEB18A #9DFE8A #8AD7FE
square
#EB8AFE #FEB18A #9DFE8A #8AD7FE
split-complementary
#EB8AFE #D7FE8A #8AFEB1
monochromatic
#D611FD #E14DFD #EB8AFE #F5C7FF #FAE1FF

Accessibility & contrast

On white

2.19
#EB8AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#EB8AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8AFE
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8AFE#FFFFFF#000000##000000
##EB8AFE1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#94B3FB
Tritanopia (blue-blind)
#ED99B8
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #eb8afe;
/* rgb */ color: rgb(235, 138, 254);
/* oklch */ color: oklch(77.7% 0.187 320.9);
Tailwind
colors: {
  custom: {
    50: '#f3afff',
    500: '#eb8afe',
    950: '#000000',
  },
}
SCSS
$custom: #eb8afe;
$custom-light: #f3afff;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8afe",
  "rgb": {
    "r": 235,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 290.172,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.77717,
    "c": 0.18662,
    "h": 320.9
  },
  "luminance": 0.42995
}

Semantic roles & 50–950 ramp

primary
#EB8AFE
secondary
#DAF7D4
accent
#E60026
background
#FFFAFF
surface
#FEF5FF
border
#D6CFD7
text
#171118
muted
#858086

Preview Lab

Preview with #EB8AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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