#EB8AF8#EB8AF8

#EB8AF8 is a light, vivid purple. Relative luminance 0.426; OKLCH L 77.4% C 0.181 H 322.7°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#EB8AF8
RGBrgb(235, 138, 248)
HSLhsl(293, 89%, 76%)
HSVhsv(293, 44%, 97%)
CMYKcmyk(5.2%, 44.4%, 0%, 2.7%)
CIE-LABlab(71.30, 53.34, -39.82)
CIE-LCHlch(71.30, 66.56, 323.26°)
OKLaboklab(77.44% 0.1438 -0.1095)
OKLCHoklch(77.44% 0.181 322.7)
XYZxyz(60.2909, 42.6189, 93.8392)
Luminance0.4262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8AF8 #97F88A
analogous
#B48AF8 #EB8AF8 #F88ACE
triadic
#EB8AF8 #F8EB8A #8AF8EB
tetradic
#EB8AF8 #F8B48A #97F88A #8ACEF8
square
#EB8AF8 #F8B48A #97F88A #8ACEF8
split-complementary
#EB8AF8 #CEF88A #8AF8B4
monochromatic
#D717F1 #E150F5 #EB8AF8 #F5C4FB #FAE2FD

Accessibility & contrast

On white

2.21
#EB8AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#EB8AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8AF8
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8AF8#FFFFFF#000000##000000
##EB8AF81.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FC
Deuteranopia (green-blind)
#97B3F5
Tritanopia (blue-blind)
#EE97B5
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #eb8af8;
/* rgb */ color: rgb(235, 138, 248);
/* oklch */ color: oklch(77.4% 0.181 322.7);
Tailwind
colors: {
  custom: {
    50: '#f3affb',
    500: '#eb8af8',
    950: '#000000',
  },
}
SCSS
$custom: #eb8af8;
$custom-light: #f3affb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8af8",
  "rgb": {
    "r": 235,
    "g": 138,
    "b": 248
  },
  "hsl": {
    "h": 292.909,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77441,
    "c": 0.18076,
    "h": 322.7
  },
  "luminance": 0.42616
}

Semantic roles & 50–950 ramp

primary
#EB8AF8
secondary
#D9F5D6
accent
#E5001B
background
#FFFAFF
surface
#FEF5FF
border
#D6CFD7
text
#171117
muted
#858085

Preview Lab

Preview with #EB8AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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