#EB7CE2#EB7CE2

#EB7CE2 is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.5% C 0.183 H 330.3°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#EB7CE2
RGBrgb(235, 124, 226)
HSLhsl(305, 74%, 70%)
HSVhsv(305, 47%, 92%)
CMYKcmyk(0%, 47.2%, 3.8%, 7.8%)
CIE-LABlab(67.70, 56.36, -33.31)
CIE-LCHlch(67.70, 65.47, 329.41°)
OKLaboklab(74.47% 0.1593 -0.0908)
OKLCHoklch(74.47% 0.183 330.3)
XYZxyz(55.1955, 37.5716, 76.2815)
Luminance0.3757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7CE2 #7CEB85
analogous
#BC7CEB #EB7CE2 #EB7CAA
triadic
#EB7CE2 #E2EB7C #7CE2EB
tetradic
#EB7CE2 #EBBC7C #7CEB85 #7CAAEB
square
#EB7CE2 #EBBC7C #7CEB85 #7CAAEB
split-complementary
#EB7CE2 #AAEB7C #7CEBBC
monochromatic
#CD1FBF #E347D6 #EB7CE2 #F3B1EE #FBE4F9

Accessibility & contrast

On white

2.47
#EB7CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#EB7CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7CE2
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7CE2#FFFFFF#000000##000000
##EB7CE21.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#779BE5
Deuteranopia (green-blind)
#96AADF
Tritanopia (blue-blind)
#F285A5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #eb7ce2;
/* rgb */ color: rgb(235, 124, 226);
/* oklch */ color: oklch(74.5% 0.183 330.3);
Tailwind
colors: {
  custom: {
    50: '#f4a5eb',
    500: '#eb7ce2',
    950: '#000000',
  },
}
SCSS
$custom: #eb7ce2;
$custom-light: #f4a5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7ce2",
  "rgb": {
    "r": 235,
    "g": 124,
    "b": 226
  },
  "hsl": {
    "h": 304.865,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74469,
    "c": 0.18335,
    "h": 330.3
  },
  "luminance": 0.37568
}

Semantic roles & 50–950 ramp

primary
#EB7CE2
secondary
#D2F1D5
accent
#D62010
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #EB7CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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