#EB8EFB#EB8EFB

#EB8EFB is a light, vivid purple. Relative luminance 0.440; OKLCH L 78.2% C 0.177 H 321.6°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#EB8EFB
RGBrgb(235, 142, 251)
HSLhsl(291, 93%, 77%)
HSVhsv(291, 43%, 98%)
CMYKcmyk(6.4%, 43.4%, 0%, 1.6%)
CIE-LABlab(72.21, 51.87, -40.02)
CIE-LCHlch(72.21, 65.52, 322.35°)
OKLaboklab(78.17% 0.1388 -0.1101)
OKLCHoklch(78.17% 0.177 321.6)
XYZxyz(61.3445, 43.9756, 96.5048)
Luminance0.4397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8EFB #9EFB8E
analogous
#B58EFB #EB8EFB #FB8ED4
triadic
#EB8EFB #FBEB8E #8EFBEB
tetradic
#EB8EFB #FBB58E #9EFB8E #8ED4FB
square
#EB8EFB #FBB58E #9EFB8E #8ED4FB
split-complementary
#EB8EFB #D4FB8E #8EFBB5
monochromatic
#D618F7 #E153F9 #EB8EFB #F5C9FD #FAE1FE

Accessibility & contrast

On white

2.14
#EB8EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#EB8EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8EFB
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8EFB#FFFFFF#000000##000000
##EB8EFB1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FAAFF
Deuteranopia (green-blind)
#99B5F8
Tritanopia (blue-blind)
#ED9BB9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #eb8efb;
/* rgb */ color: rgb(235, 142, 251);
/* oklch */ color: oklch(78.2% 0.177 321.6);
Tailwind
colors: {
  custom: {
    50: '#f3b1fd',
    500: '#eb8efb',
    950: '#000000',
  },
}
SCSS
$custom: #eb8efb;
$custom-light: #f3b1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8efb",
  "rgb": {
    "r": 235,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 291.193,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.78167,
    "c": 0.17717,
    "h": 321.6
  },
  "luminance": 0.43973
}

Semantic roles & 50–950 ramp

primary
#EB8EFB
secondary
#DAF6D5
accent
#E60022
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EB8EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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