#EB8EF8#EB8EF8

#EB8EF8 is a light, vivid purple. Relative luminance 0.438; OKLCH L 78.0% C 0.174 H 322.5°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#EB8EF8
RGBrgb(235, 142, 248)
HSLhsl(293, 88%, 76%)
HSVhsv(293, 43%, 97%)
CMYKcmyk(5.2%, 42.7%, 0%, 2.7%)
CIE-LABlab(72.09, 51.31, -38.59)
CIE-LCHlch(72.09, 64.20, 323.06°)
OKLaboklab(78.03% 0.1382 -0.106)
OKLCHoklch(78.03% 0.174 322.5)
XYZxyz(60.8754, 43.7879, 94.0340)
Luminance0.4379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8EF8 #9BF88E
analogous
#B68EF8 #EB8EF8 #F88ED0
triadic
#EB8EF8 #F8EB8E #8EF8EB
tetradic
#EB8EF8 #F8B68E #9BF88E #8ED0F8
square
#EB8EF8 #F8B68E #9BF88E #8ED0F8
split-complementary
#EB8EF8 #D0F88E #8EF8B6
monochromatic
#D71BF1 #E154F4 #EB8EF8 #F5C8FC #FAE2FD

Accessibility & contrast

On white

2.15
#EB8EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#EB8EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8EF8
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8EF8#FFFFFF#000000##000000
##EB8EF81.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFC
Deuteranopia (green-blind)
#9AB4F5
Tritanopia (blue-blind)
#EE9AB7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #eb8ef8;
/* rgb */ color: rgb(235, 142, 248);
/* oklch */ color: oklch(78.0% 0.174 322.5);
Tailwind
colors: {
  custom: {
    50: '#f3b1fb',
    500: '#eb8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #eb8ef8;
$custom-light: #f3b1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8ef8",
  "rgb": {
    "r": 235,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 292.642,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78032,
    "c": 0.17422,
    "h": 322.5
  },
  "luminance": 0.43785
}

Semantic roles & 50–950 ramp

primary
#EB8EF8
secondary
#DAF5D6
accent
#E5011D
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EB8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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