#EB7AF3#EB7AF3

#EB7AF3 is a light, highly saturated purple. Relative luminance 0.381; OKLCH L 75.0% C 0.202 H 324.8°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#EB7AF3
RGBrgb(235, 122, 243)
HSLhsl(296, 83%, 72%)
HSVhsv(296, 50%, 95%)
CMYKcmyk(3.3%, 49.8%, 0%, 4.7%)
CIE-LABlab(68.06, 60.29, -42.14)
CIE-LCHlch(68.06, 73.55, 325.05°)
OKLaboklab(74.97% 0.1647 -0.1161)
OKLCHoklch(74.97% 0.202 324.8)
XYZxyz(57.3968, 38.0552, 89.0987)
Luminance0.3805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7AF3 #82F37A
analogous
#AF7AF3 #EB7AF3 #F37ABF
triadic
#EB7AF3 #F3EB7A #7AF3EB
tetradic
#EB7AF3 #F3AF7A #82F37A #7ABFF3
square
#EB7AF3 #F3AF7A #82F37A #7ABFF3
split-complementary
#EB7AF3 #BFF37A #7AF3AF
monochromatic
#D114DF #E342EE #EB7AF3 #F3B2F8 #FBE3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EB7AF3#FFFFFF#000000##000000
##EB7AF31.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)
#6B9DF7
Deuteranopia (green-blind)
#8DABEF
Tritanopia (blue-blind)
#F089AC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #eb7af3;
/* rgb */ color: rgb(235, 122, 243);
/* oklch */ color: oklch(75.0% 0.202 324.8);
Tailwind
colors: {
  custom: {
    50: '#f4a4f7',
    500: '#eb7af3',
    950: '#000000',
  },
}
SCSS
$custom: #eb7af3;
$custom-light: #f4a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7af3",
  "rgb": {
    "r": 235,
    "g": 122,
    "b": 243
  },
  "hsl": {
    "h": 296.033,
    "s": 83.448,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74971,
    "c": 0.20152,
    "h": 324.8
  },
  "luminance": 0.38052
}

Semantic roles & 50–950 ramp

primary
#EB7AF3
secondary
#D7F4D5
accent
#E00614
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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