#EB8CFB#EB8CFB

#EB8CFB is a light, vivid purple. Relative luminance 0.434; OKLCH L 77.9% C 0.180 H 321.7°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#EB8CFB
RGBrgb(235, 140, 251)
HSLhsl(291, 93%, 77%)
HSVhsv(291, 44%, 98%)
CMYKcmyk(6.4%, 44.2%, 0%, 1.6%)
CIE-LABlab(71.82, 52.89, -40.64)
CIE-LCHlch(71.82, 66.70, 322.46°)
OKLaboklab(77.87% 0.1415 -0.1119)
OKLCHoklch(77.87% 0.18 321.7)
XYZxyz(61.0496, 43.3858, 96.4065)
Luminance0.4338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8CFB #9CFB8C
analogous
#B48CFB #EB8CFB #FB8CD4
triadic
#EB8CFB #FBEB8C #8CFBEB
tetradic
#EB8CFB #FBB48C #9CFB8C #8CD4FB
square
#EB8CFB #FBB48C #9CFB8C #8CD4FB
split-complementary
#EB8CFB #D4FB8C #8CFBB4
monochromatic
#D616F7 #E151F9 #EB8CFB #F5C7FD #FAE1FE

Accessibility & contrast

On white

2.17
#EB8CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#EB8CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8CFB
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8CFB#FFFFFF#000000##000000
##EB8CFB1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#97B4F8
Tritanopia (blue-blind)
#ED9AB8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #eb8cfb;
/* rgb */ color: rgb(235, 140, 251);
/* oklch */ color: oklch(77.9% 0.180 321.7);
Tailwind
colors: {
  custom: {
    50: '#f3b0fd',
    500: '#eb8cfb',
    950: '#000000',
  },
}
SCSS
$custom: #eb8cfb;
$custom-light: #f3b0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8cfb",
  "rgb": {
    "r": 235,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 291.351,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.77871,
    "c": 0.18043,
    "h": 321.7
  },
  "luminance": 0.43383
}

Semantic roles & 50–950 ramp

primary
#EB8CFB
secondary
#DAF6D5
accent
#E60021
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EB8CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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