#EB8AF5#EB8AF5

#EB8AF5 is a light, vivid purple. Relative luminance 0.424; OKLCH L 77.3% C 0.178 H 323.7°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#EB8AF5
RGBrgb(235, 138, 245)
HSLhsl(294, 84%, 75%)
HSVhsv(294, 44%, 96%)
CMYKcmyk(4.1%, 43.7%, 0%, 3.9%)
CIE-LABlab(71.17, 52.78, -38.38)
CIE-LCHlch(71.17, 65.26, 323.98°)
OKLaboklab(77.31% 0.1433 -0.1054)
OKLCHoklch(77.31% 0.178 323.7)
XYZxyz(59.8292, 42.4343, 91.4076)
Luminance0.4243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8AF5 #94F58A
analogous
#B68AF5 #EB8AF5 #F58AC9
triadic
#EB8AF5 #F5EB8A #8AF5EB
tetradic
#EB8AF5 #F5B68A #94F58A #8AC9F5
square
#EB8AF5 #F5B68A #94F58A #8AC9F5
split-complementary
#EB8AF5 #C9F58A #8AF5B6
monochromatic
#D819EB #E152F0 #EB8AF5 #F5C2FA #FAE3FD

Accessibility & contrast

On white

2.21
#EB8AF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#EB8AF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8AF5
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8AF5#FFFFFF#000000##000000
##EB8AF51.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA7F9
Deuteranopia (green-blind)
#98B2F2
Tritanopia (blue-blind)
#EF96B4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #eb8af5;
/* rgb */ color: rgb(235, 138, 245);
/* oklch */ color: oklch(77.3% 0.178 323.7);
Tailwind
colors: {
  custom: {
    50: '#f3aff9',
    500: '#eb8af5',
    950: '#000000',
  },
}
SCSS
$custom: #eb8af5;
$custom-light: #f3aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8af5",
  "rgb": {
    "r": 235,
    "g": 138,
    "b": 245
  },
  "hsl": {
    "h": 294.393,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.77306,
    "c": 0.17786,
    "h": 323.7
  },
  "luminance": 0.42432
}

Semantic roles & 50–950 ramp

primary
#EB8AF5
secondary
#D9F5D6
accent
#E10519
background
#FFFAFF
surface
#FEF5FF
border
#D6CFD7
text
#171117
muted
#858085

Preview Lab

Preview with #EB8AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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