#EB7EEB#EB7EEB

#EB7EEB is a light, vivid purple. Relative luminance 0.386; OKLCH L 75.1% C 0.188 H 327.2°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#EB7EEB
RGBrgb(235, 126, 235)
HSLhsl(300, 73%, 71%)
HSVhsv(300, 46%, 92%)
CMYKcmyk(0%, 46.4%, 0%, 7.8%)
CIE-LABlab(68.45, 56.94, -37.13)
CIE-LCHlch(68.45, 67.97, 326.89°)
OKLaboklab(75.15% 0.1581 -0.1017)
OKLCHoklch(75.15% 0.188 327.2)
XYZxyz(56.7162, 38.5850, 83.0414)
Luminance0.3858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7EEB #7EEB7E
analogous
#B47EEB #EB7EEB #EB7EB4
triadic
#EB7EEB #EBEB7E #7EEBEB
tetradic
#EB7EEB #EBB47E #7EEB7E #7EB4EB
square
#EB7EEB #EBB47E #7EEB7E #7EB4EB
split-complementary
#EB7EEB #B4EB7E #7EEBB4
monochromatic
#CF20CF #E349E3 #EB7EEB #F3B3F3 #FBE5FB

Accessibility & contrast

On white

2.41
#EB7EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#EB7EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7EEB
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7EEB#FFFFFF#000000##000000
##EB7EEB1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#749EEF
Deuteranopia (green-blind)
#94ACE8
Tritanopia (blue-blind)
#F189AA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #eb7eeb;
/* rgb */ color: rgb(235, 126, 235);
/* oklch */ color: oklch(75.1% 0.188 327.2);
Tailwind
colors: {
  custom: {
    50: '#f3a7f1',
    500: '#eb7eeb',
    950: '#000000',
  },
}
SCSS
$custom: #eb7eeb;
$custom-light: #f3a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7eeb",
  "rgb": {
    "r": 235,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 300,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.75145,
    "c": 0.18802,
    "h": 327.2
  },
  "luminance": 0.38582
}

Semantic roles & 50–950 ramp

primary
#EB7EEB
secondary
#D4F1D4
accent
#D51010
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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