#EB7EEE#EB7EEE

#EB7EEE is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.3% C 0.191 H 326.3°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#EB7EEE
RGBrgb(235, 126, 238)
HSLhsl(298, 77%, 71%)
HSVhsv(298, 47%, 93%)
CMYKcmyk(1.3%, 47.1%, 0%, 6.7%)
CIE-LABlab(68.58, 57.47, -38.58)
CIE-LCHlch(68.58, 69.22, 326.13°)
OKLaboklab(75.28% 0.1586 -0.1059)
OKLCHoklch(75.28% 0.191 326.3)
XYZxyz(57.1533, 38.7598, 85.3433)
Luminance0.3876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7EEE #81EE7E
analogous
#B37EEE #EB7EEE #EE7EB9
triadic
#EB7EEE #EEEB7E #7EEEEB
tetradic
#EB7EEE #EEB37E #81EE7E #7EB9EE
square
#EB7EEE #EEB37E #81EE7E #7EB9EE
split-complementary
#EB7EEE #B9EE7E #7EEEB3
monochromatic
#D11CD5 #E348E7 #EB7EEE #F3B4F5 #FBE4FB

Accessibility & contrast

On white

2.40
#EB7EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#EB7EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7EEE
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7EEE#FFFFFF#000000##000000
##EB7EEE1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF2
Deuteranopia (green-blind)
#93ACEB
Tritanopia (blue-blind)
#F08AAB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #eb7eee;
/* rgb */ color: rgb(235, 126, 238);
/* oklch */ color: oklch(75.3% 0.191 326.3);
Tailwind
colors: {
  custom: {
    50: '#f4a7f4',
    500: '#eb7eee',
    950: '#000000',
  },
}
SCSS
$custom: #eb7eee;
$custom-light: #f4a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7eee",
  "rgb": {
    "r": 235,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 298.393,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75281,
    "c": 0.19072,
    "h": 326.3
  },
  "luminance": 0.38757
}

Semantic roles & 50–950 ramp

primary
#EB7EEE
secondary
#D6F2D5
accent
#D90D12
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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