#EB7AEE#EB7AEE

#EB7AEE is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.7% C 0.197 H 326.4°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#EB7AEE
RGBrgb(235, 122, 238)
HSLhsl(298, 77%, 71%)
HSVhsv(298, 49%, 93%)
CMYKcmyk(1.3%, 48.7%, 0%, 6.7%)
CIE-LABlab(67.84, 59.40, -39.73)
CIE-LCHlch(67.84, 71.46, 326.23°)
OKLaboklab(74.74% 0.164 -0.1091)
OKLCHoklch(74.74% 0.197 326.4)
XYZxyz(56.6520, 37.7573, 85.1762)
Luminance0.3775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7AEE #7DEE7A
analogous
#B17AEE #EB7AEE #EE7AB7
triadic
#EB7AEE #EEEB7A #7AEEEB
tetradic
#EB7AEE #EEB17A #7DEE7A #7AB7EE
square
#EB7AEE #EEB17A #7DEE7A #7AB7EE
split-complementary
#EB7AEE #B7EE7A #7AEEB1
monochromatic
#CE1BD3 #E344E7 #EB7AEE #F3B0F5 #FBE4FC

Accessibility & contrast

On white

2.46
#EB7AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#EB7AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7AEE
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7AEE#FFFFFF#000000##000000
##EB7AEE1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF2
Deuteranopia (green-blind)
#90AAEB
Tritanopia (blue-blind)
#F087A9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #eb7aee;
/* rgb */ color: rgb(235, 122, 238);
/* oklch */ color: oklch(74.7% 0.197 326.4);
Tailwind
colors: {
  custom: {
    50: '#f4a4f4',
    500: '#eb7aee',
    950: '#000000',
  },
}
SCSS
$custom: #eb7aee;
$custom-light: #f4a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7aee",
  "rgb": {
    "r": 235,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 298.448,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74736,
    "c": 0.19702,
    "h": 326.4
  },
  "luminance": 0.37754
}

Semantic roles & 50–950 ramp

primary
#EB7AEE
secondary
#D3F2D2
accent
#DA0C11
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #EB7AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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