#EB8AFA#EB8AFA

#EB8AFA is a light, vivid purple. Relative luminance 0.427; OKLCH L 77.5% C 0.183 H 322.1°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#EB8AFA
RGBrgb(235, 138, 250)
HSLhsl(292, 92%, 76%)
HSVhsv(292, 45%, 98%)
CMYKcmyk(6%, 44.8%, 0%, 2%)
CIE-LABlab(71.38, 53.71, -40.78)
CIE-LCHlch(71.38, 67.43, 322.79°)
OKLaboklab(77.53% 0.1441 -0.1123)
OKLCHoklch(77.53% 0.183 322.1)
XYZxyz(60.6029, 42.7437, 95.4820)
Luminance0.4274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8AFA #99FA8A
analogous
#B38AFA #EB8AFA #FA8AD1
triadic
#EB8AFA #FAEB8A #8AFAEB
tetradic
#EB8AFA #FAB38A #99FA8A #8AD1FA
square
#EB8AFA #FAB38A #99FA8A #8AD1FA
split-complementary
#EB8AFA #D1FA8A #8AFAB3
monochromatic
#D715F5 #E14FF7 #EB8AFA #F5C5FD #FAE2FE

Accessibility & contrast

On white

2.20
#EB8AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#EB8AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8AFA
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8AFA#FFFFFF#000000##000000
##EB8AFA1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FE
Deuteranopia (green-blind)
#96B3F7
Tritanopia (blue-blind)
#EE98B6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #eb8afa;
/* rgb */ color: rgb(235, 138, 250);
/* oklch */ color: oklch(77.5% 0.183 322.1);
Tailwind
colors: {
  custom: {
    50: '#f3affc',
    500: '#eb8afa',
    950: '#000000',
  },
}
SCSS
$custom: #eb8afa;
$custom-light: #f3affc;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8afa",
  "rgb": {
    "r": 235,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 291.964,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77533,
    "c": 0.1827,
    "h": 322.1
  },
  "luminance": 0.42741
}

Semantic roles & 50–950 ramp

primary
#EB8AFA
secondary
#DAF6D5
accent
#E6001F
background
#FFFAFF
surface
#FEF5FF
border
#D6CFD7
text
#171117
muted
#858085

Preview Lab

Preview with #EB8AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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