#EB7AFF#EB7AFF

#EB7AFF is a light, highly saturated purple. Relative luminance 0.388; OKLCH L 75.6% C 0.213 H 321.4°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#EB7AFF
RGBrgb(235, 122, 255)
HSLhsl(291, 100%, 74%)
HSVhsv(291, 52%, 100%)
CMYKcmyk(7.8%, 52.2%, 0%, 0%)
CIE-LABlab(68.61, 62.47, -47.85)
CIE-LCHlch(68.61, 78.69, 322.55°)
OKLaboklab(75.55% 0.1662 -0.1325)
OKLCHoklch(75.55% 0.213 321.4)
XYZxyz(59.2685, 38.8039, 98.9563)
Luminance0.3880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7AFF #8EFF7A
analogous
#A97AFF #EB7AFF #FF7AD1
triadic
#EB7AFF #FFEB7A #7AFFEB
tetradic
#EB7AFF #FFA97A #8EFF7A #7AD1FF
square
#EB7AFF #FFA97A #8EFF7A #7AD1FF
split-complementary
#EB7AFF #D1FF7A #7AFFA9
monochromatic
#D800FF #E23DFF #EB7AFF #F4B7FF #FAE0FF

Accessibility & contrast

On white

2.40
#EB7AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#EB7AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7AFF
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7AFF#FFFFFF#000000##000000
##EB7AFF1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#88ACFB
Tritanopia (blue-blind)
#ED8CB1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #eb7aff;
/* rgb */ color: rgb(235, 122, 255);
/* oklch */ color: oklch(75.6% 0.213 321.4);
Tailwind
colors: {
  custom: {
    50: '#f4a5ff',
    500: '#eb7aff',
    950: '#000000',
  },
}
SCSS
$custom: #eb7aff;
$custom-light: #f4a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7aff",
  "rgb": {
    "r": 235,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 290.977,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75553,
    "c": 0.21258,
    "h": 321.4
  },
  "luminance": 0.38801
}

Semantic roles & 50–950 ramp

primary
#EB7AFF
secondary
#D9F7D4
accent
#E60023
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #EB7AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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