#EB7CEC#EB7CEC

#EB7CEC is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.9% C 0.192 H 327.0°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#EB7CEC
RGBrgb(235, 124, 236)
HSLhsl(299, 75%, 71%)
HSVhsv(299, 47%, 93%)
CMYKcmyk(0.4%, 47.5%, 0%, 7.5%)
CIE-LABlab(68.12, 58.09, -38.19)
CIE-LCHlch(68.12, 69.52, 326.68°)
OKLaboklab(74.91% 0.161 -0.1047)
OKLCHoklch(74.91% 0.192 327)
XYZxyz(56.6079, 38.1366, 83.7200)
Luminance0.3813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7CEC #7DEC7C
analogous
#B37CEC #EB7CEC #EC7CB5
triadic
#EB7CEC #ECEB7C #7CECEB
tetradic
#EB7CEC #ECB37C #7DEC7C #7CB5EC
square
#EB7CEC #ECB37C #7DEC7C #7CB5EC
split-complementary
#EB7CEC #B5EC7C #7CECB3
monochromatic
#CE1ED0 #E347E4 #EB7CEC #F3B1F4 #FBE4FB

Accessibility & contrast

On white

2.43
#EB7CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#EB7CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7CEC
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7CEC#FFFFFF#000000##000000
##EB7CEC1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DF0
Deuteranopia (green-blind)
#92ABE9
Tritanopia (blue-blind)
#F188A9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #eb7cec;
/* rgb */ color: rgb(235, 124, 236);
/* oklch */ color: oklch(74.9% 0.192 327.0);
Tailwind
colors: {
  custom: {
    50: '#f4a6f2',
    500: '#eb7cec',
    950: '#000000',
  },
}
SCSS
$custom: #eb7cec;
$custom-light: #f4a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7cec",
  "rgb": {
    "r": 235,
    "g": 124,
    "b": 236
  },
  "hsl": {
    "h": 299.464,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74915,
    "c": 0.19209,
    "h": 327
  },
  "luminance": 0.38134
}

Semantic roles & 50–950 ramp

primary
#EB7CEC
secondary
#D3F1D3
accent
#D70F10
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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