#EB7AEC#EB7AEC

#EB7AEC is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.6% C 0.195 H 327.0°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#EB7AEC
RGBrgb(235, 122, 236)
HSLhsl(299, 75%, 70%)
HSVhsv(299, 48%, 93%)
CMYKcmyk(0.4%, 48.3%, 0%, 7.5%)
CIE-LABlab(67.75, 59.05, -38.76)
CIE-LCHlch(67.75, 70.64, 326.72°)
OKLaboklab(74.64% 0.1637 -0.1064)
OKLCHoklch(74.64% 0.195 327)
XYZxyz(56.3598, 37.6404, 83.6373)
Luminance0.3764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7AEC #7BEC7A
analogous
#B27AEC #EB7AEC #EC7AB4
triadic
#EB7AEC #ECEB7A #7AECEB
tetradic
#EB7AEC #ECB27A #7BEC7A #7AB4EC
square
#EB7AEC #ECB27A #7BEC7A #7AB4EC
split-complementary
#EB7AEC #B4EC7A #7AECB2
monochromatic
#CD1DCE #E344E4 #EB7AEC #F3B0F4 #FBE4FB

Accessibility & contrast

On white

2.46
#EB7AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#EB7AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7AEC
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7AEC#FFFFFF#000000##000000
##EB7AEC1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF0
Deuteranopia (green-blind)
#91AAE9
Tritanopia (blue-blind)
#F186A8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #eb7aec;
/* rgb */ color: rgb(235, 122, 236);
/* oklch */ color: oklch(74.6% 0.195 327.0);
Tailwind
colors: {
  custom: {
    50: '#f4a4f2',
    500: '#eb7aec',
    950: '#000000',
  },
}
SCSS
$custom: #eb7aec;
$custom-light: #f4a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7aec",
  "rgb": {
    "r": 235,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 299.474,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74644,
    "c": 0.19524,
    "h": 327
  },
  "luminance": 0.37637
}

Semantic roles & 50–950 ramp

primary
#EB7AEC
secondary
#D1F1D1
accent
#D70E10
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #EB7AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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