#EB8AF2#EB8AF2

#EB8AF2 is a light, vivid purple. Relative luminance 0.422; OKLCH L 77.2% C 0.175 H 324.6°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#EB8AF2
RGBrgb(235, 138, 242)
HSLhsl(296, 80%, 75%)
HSVhsv(296, 43%, 95%)
CMYKcmyk(2.9%, 43%, 0%, 5.1%)
CIE-LABlab(71.04, 52.23, -36.93)
CIE-LCHlch(71.04, 63.97, 324.74°)
OKLaboklab(77.17% 0.1427 -0.1013)
OKLCHoklch(77.17% 0.175 324.6)
XYZxyz(59.3750, 42.2526, 89.0152)
Luminance0.4225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8AF2 #91F28A
analogous
#B78AF2 #EB8AF2 #F28AC5
triadic
#EB8AF2 #F2EB8A #8AF2EB
tetradic
#EB8AF2 #F2B78A #91F28A #8AC5F2
square
#EB8AF2 #F2B78A #91F28A #8AC5F2
split-complementary
#EB8AF2 #C5F28A #8AF2B7
monochromatic
#D81CE6 #E253EC #EB8AF2 #F4C1F8 #FAE3FC

Accessibility & contrast

On white

2.22
#EB8AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#EB8AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8AF2
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8AF2#FFFFFF#000000##000000
##EB8AF21.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA6F6
Deuteranopia (green-blind)
#9AB2EF
Tritanopia (blue-blind)
#EF95B3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #eb8af2;
/* rgb */ color: rgb(235, 138, 242);
/* oklch */ color: oklch(77.2% 0.175 324.6);
Tailwind
colors: {
  custom: {
    50: '#f3aef6',
    500: '#eb8af2',
    950: '#000000',
  },
}
SCSS
$custom: #eb8af2;
$custom-light: #f3aef6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8af2",
  "rgb": {
    "r": 235,
    "g": 138,
    "b": 242
  },
  "hsl": {
    "h": 295.962,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77172,
    "c": 0.175,
    "h": 324.6
  },
  "luminance": 0.4225
}

Semantic roles & 50–950 ramp

primary
#EB8AF2
secondary
#D9F4D7
accent
#DC0917
background
#FFFAFF
surface
#FEF5FE
border
#D6CFD6
text
#171017
muted
#857F85

Preview Lab

Preview with #EB8AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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