#EB7AF2#EB7AF2

#EB7AF2 is a light, highly saturated purple. Relative luminance 0.380; OKLCH L 74.9% C 0.201 H 325.1°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#EB7AF2
RGBrgb(235, 122, 242)
HSLhsl(297, 82%, 71%)
HSVhsv(297, 50%, 95%)
CMYKcmyk(2.9%, 49.6%, 0%, 5.1%)
CIE-LABlab(68.02, 60.11, -41.66)
CIE-LCHlch(68.02, 73.13, 325.28°)
OKLaboklab(74.92% 0.1646 -0.1147)
OKLCHoklch(74.92% 0.201 325.1)
XYZxyz(57.2462, 37.9949, 88.3056)
Luminance0.3799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7AF2 #81F27A
analogous
#AF7AF2 #EB7AF2 #F27ABD
triadic
#EB7AF2 #F2EB7A #7AF2EB
tetradic
#EB7AF2 #F2AF7A #81F27A #7ABDF2
square
#EB7AF2 #F2AF7A #81F27A #7ABDF2
split-complementary
#EB7AF2 #BDF27A #7AF2AF
monochromatic
#D116DC #E342ED #EB7AF2 #F3B2F7 #FBE3FC

Accessibility & contrast

On white

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

On black

8.60
#EB7AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7AF2
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7AF2#FFFFFF#000000##000000
##EB7AF21.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#8EABEE
Tritanopia (blue-blind)
#F088AB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #eb7af2;
/* rgb */ color: rgb(235, 122, 242);
/* oklch */ color: oklch(74.9% 0.201 325.1);
Tailwind
colors: {
  custom: {
    50: '#f4a4f7',
    500: '#eb7af2',
    950: '#000000',
  },
}
SCSS
$custom: #eb7af2;
$custom-light: #f4a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7af2",
  "rgb": {
    "r": 235,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 296.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74923,
    "c": 0.20061,
    "h": 325.1
  },
  "luminance": 0.37992
}

Semantic roles & 50–950 ramp

primary
#EB7AF2
secondary
#D6F3D4
accent
#DF0713
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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