#EB87F4#EB87F4

#EB87F4 is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.8% C 0.182 H 324.1°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#EB87F4
RGBrgb(235, 135, 244)
HSLhsl(295, 83%, 74%)
HSVhsv(295, 45%, 96%)
CMYKcmyk(3.7%, 44.7%, 0%, 4.3%)
CIE-LABlab(70.54, 54.10, -38.81)
CIE-LCHlch(70.54, 66.58, 324.35°)
OKLaboklab(76.82% 0.1473 -0.1066)
OKLCHoklch(76.82% 0.182 324.1)
XYZxyz(59.2525, 41.5244, 90.4643)
Luminance0.4152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB87F4 #90F487
analogous
#B587F4 #EB87F4 #F487C7
triadic
#EB87F4 #F4EB87 #87F4EB
tetradic
#EB87F4 #F4B587 #90F487 #87C7F4
square
#EB87F4 #F4B587 #90F487 #87C7F4
split-complementary
#EB87F4 #C7F487 #87F4B5
monochromatic
#D817EA #E24FEF #EB87F4 #F4BFF9 #FAE3FC

Accessibility & contrast

On white

2.26
#EB87F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#EB87F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB87F4
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB87F4#FFFFFF#000000##000000
##EB87F41.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA5F8
Deuteranopia (green-blind)
#97B1F1
Tritanopia (blue-blind)
#EF93B2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #eb87f4;
/* rgb */ color: rgb(235, 135, 244);
/* oklch */ color: oklch(76.8% 0.182 324.1);
Tailwind
colors: {
  custom: {
    50: '#f3adf8',
    500: '#eb87f4',
    950: '#000000',
  },
}
SCSS
$custom: #eb87f4;
$custom-light: #f3adf8;
$custom-dark: #000000;
JSON
{
  "hex": "#eb87f4",
  "rgb": {
    "r": 235,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 295.046,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76824,
    "c": 0.1818,
    "h": 324.1
  },
  "luminance": 0.41522
}

Semantic roles & 50–950 ramp

primary
#EB87F4
secondary
#D9F4D7
accent
#E00618
background
#FFFAFF
surface
#FEF4FF
border
#D6CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EB87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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