#EB7AF7#EB7AF7

#EB7AF7 is a light, highly saturated purple. Relative luminance 0.383; OKLCH L 75.2% C 0.205 H 323.7°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#EB7AF7
RGBrgb(235, 122, 247)
HSLhsl(294, 89%, 72%)
HSVhsv(294, 51%, 97%)
CMYKcmyk(4.9%, 50.6%, 0%, 3.1%)
CIE-LABlab(68.24, 61.01, -44.05)
CIE-LCHlch(68.24, 75.25, 324.17°)
OKLaboklab(75.16% 0.1653 -0.1216)
OKLCHoklch(75.16% 0.205 323.7)
XYZxyz(58.0074, 38.2994, 92.3147)
Luminance0.3830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7AF7 #86F77A
analogous
#AD7AF7 #EB7AF7 #F77AC5
triadic
#EB7AF7 #F7EB7A #7AF7EB
tetradic
#EB7AF7 #F7AD7A #86F77A #7AC5F7
square
#EB7AF7 #F7AD7A #86F77A #7AC5F7
split-complementary
#EB7AF7 #C5F77A #7AF7AD
monochromatic
#D40EE9 #E240F4 #EB7AF7 #F4B4FA #FBE2FD

Accessibility & contrast

On white

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

On black

8.66
#EB7AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7AF7
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7AF7#FFFFFF#000000##000000
##EB7AF71.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#699EFB
Deuteranopia (green-blind)
#8CABF3
Tritanopia (blue-blind)
#EF8AAE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #eb7af7;
/* rgb */ color: rgb(235, 122, 247);
/* oklch */ color: oklch(75.2% 0.205 323.7);
Tailwind
colors: {
  custom: {
    50: '#f4a4fa',
    500: '#eb7af7',
    950: '#000000',
  },
}
SCSS
$custom: #eb7af7;
$custom-light: #f4a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7af7",
  "rgb": {
    "r": 235,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 294.24,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75162,
    "c": 0.20517,
    "h": 323.7
  },
  "luminance": 0.38297
}

Semantic roles & 50–950 ramp

primary
#EB7AF7
secondary
#D9F5D6
accent
#E50016
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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