#EB87F9#EB87F9

#EB87F9 is a light, vivid purple. Relative luminance 0.418; OKLCH L 77.1% C 0.187 H 322.5°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#EB87F9
RGBrgb(235, 135, 249)
HSLhsl(293, 90%, 75%)
HSVhsv(293, 46%, 98%)
CMYKcmyk(5.6%, 45.8%, 0%, 2.4%)
CIE-LABlab(70.76, 55.03, -41.21)
CIE-LCHlch(70.76, 68.75, 323.17°)
OKLaboklab(77.05% 0.1481 -0.1135)
OKLCHoklch(77.05% 0.187 322.5)
XYZxyz(60.0220, 41.8322, 94.5169)
Luminance0.4183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87F9 #95F987
analogous
#B287F9 #EB87F9 #F987CE
triadic
#EB87F9 #F9EB87 #87F9EB
tetradic
#EB87F9 #F9B287 #95F987 #87CEF9
square
#EB87F9 #F9B287 #95F987 #87CEF9
split-complementary
#EB87F9 #CEF987 #87F9B2
monochromatic
#D812F3 #E14DF6 #EB87F9 #F5C1FC #FAE2FE

Accessibility & contrast

On white

2.24
#EB87F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#EB87F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87F9
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87F9#FFFFFF#000000##000000
##EB87F91.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FD
Deuteranopia (green-blind)
#94B1F6
Tritanopia (blue-blind)
#EE95B5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #eb87f9;
/* rgb */ color: rgb(235, 135, 249);
/* oklch */ color: oklch(77.1% 0.187 322.5);
Tailwind
colors: {
  custom: {
    50: '#f3adfb',
    500: '#eb87f9',
    950: '#000000',
  },
}
SCSS
$custom: #eb87f9;
$custom-light: #f3adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87f9",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 292.632,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.77053,
    "c": 0.18658,
    "h": 322.5
  },
  "luminance": 0.4183
}

Semantic roles & 50–950 ramp

primary
#EB87F9
secondary
#D9F6D5
accent
#E6001C
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EB87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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