#EB7AF0#EB7AF0

#EB7AF0 is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.8% C 0.199 H 325.7°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#EB7AF0
RGBrgb(235, 122, 240)
HSLhsl(297, 80%, 71%)
HSVhsv(297, 49%, 94%)
CMYKcmyk(2.1%, 49.2%, 0%, 5.9%)
CIE-LABlab(67.93, 59.76, -40.69)
CIE-LCHlch(67.93, 72.30, 325.75°)
OKLaboklab(74.83% 0.1643 -0.1119)
OKLCHoklch(74.83% 0.199 325.7)
XYZxyz(56.9474, 37.8755, 86.7323)
Luminance0.3787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7AF0 #7FF07A
analogous
#B07AF0 #EB7AF0 #F07ABA
triadic
#EB7AF0 #F0EB7A #7AF0EB
tetradic
#EB7AF0 #F0B07A #7FF07A #7ABAF0
square
#EB7AF0 #F0B07A #7FF07A #7ABAF0
split-complementary
#EB7AF0 #BAF07A #7AF0B0
monochromatic
#CF18D7 #E343EA #EB7AF0 #F3B1F6 #FBE4FC

Accessibility & contrast

On white

2.45
#EB7AF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#EB7AF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7AF0
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7AF0#FFFFFF#000000##000000
##EB7AF01.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF4
Deuteranopia (green-blind)
#8FABEC
Tritanopia (blue-blind)
#F088AA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #eb7af0;
/* rgb */ color: rgb(235, 122, 240);
/* oklch */ color: oklch(74.8% 0.199 325.7);
Tailwind
colors: {
  custom: {
    50: '#f4a4f5',
    500: '#eb7af0',
    950: '#000000',
  },
}
SCSS
$custom: #eb7af0;
$custom-light: #f4a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7af0",
  "rgb": {
    "r": 235,
    "g": 122,
    "b": 240
  },
  "hsl": {
    "h": 297.458,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74829,
    "c": 0.19881,
    "h": 325.7
  },
  "luminance": 0.37873
}

Semantic roles & 50–950 ramp

primary
#EB7AF0
secondary
#D5F3D3
accent
#DC0912
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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