#EB7EE2#EB7EE2

#EB7EE2 is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.7% C 0.180 H 330.3°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#EB7EE2
RGBrgb(235, 126, 226)
HSLhsl(305, 73%, 71%)
HSVhsv(305, 46%, 92%)
CMYKcmyk(0%, 46.4%, 3.8%, 7.8%)
CIE-LABlab(68.08, 55.38, -32.73)
CIE-LCHlch(68.08, 64.33, 329.41°)
OKLaboklab(74.75% 0.1565 -0.0892)
OKLCHoklch(74.75% 0.18 330.3)
XYZxyz(55.4487, 38.0780, 76.3659)
Luminance0.3807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7EE2 #7EEB87
analogous
#BD7EEB #EB7EE2 #EB7EAB
triadic
#EB7EE2 #E2EB7E #7EE2EB
tetradic
#EB7EE2 #EBBD7E #7EEB87 #7EABEB
square
#EB7EE2 #EBBD7E #7EEB87 #7EABEB
split-complementary
#EB7EE2 #ABEB7E #7EEBBD
monochromatic
#CF20C0 #E349D6 #EB7EE2 #F3B3EE #FBE5F9

Accessibility & contrast

On white

2.44
#EB7EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#EB7EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7EE2
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7EE2#FFFFFF#000000##000000
##EB7EE21.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#799CE5
Deuteranopia (green-blind)
#97ABDF
Tritanopia (blue-blind)
#F287A6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #eb7ee2;
/* rgb */ color: rgb(235, 126, 226);
/* oklch */ color: oklch(74.7% 0.180 330.3);
Tailwind
colors: {
  custom: {
    50: '#f3a7eb',
    500: '#eb7ee2',
    950: '#000000',
  },
}
SCSS
$custom: #eb7ee2;
$custom-light: #f3a7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7ee2",
  "rgb": {
    "r": 235,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 304.954,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74747,
    "c": 0.18012,
    "h": 330.3
  },
  "luminance": 0.38075
}

Semantic roles & 50–950 ramp

primary
#EB7EE2
secondary
#D4F1D6
accent
#D52110
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EB7EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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