#EB7AFA#EB7AFA

#EB7AFA is a light, highly saturated purple. Relative luminance 0.385; OKLCH L 75.3% C 0.208 H 322.8°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#EB7AFA
RGBrgb(235, 122, 250)
HSLhsl(293, 93%, 73%)
HSVhsv(293, 51%, 98%)
CMYKcmyk(6%, 51.2%, 0%, 2%)
CIE-LABlab(68.38, 61.55, -45.48)
CIE-LCHlch(68.38, 76.53, 323.54°)
OKLaboklab(75.31% 0.1656 -0.1257)
OKLCHoklch(75.31% 0.208 322.8)
XYZxyz(58.4740, 38.4861, 94.7724)
Luminance0.3848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB7AFA #89FA7A
analogous
#AB7AFA #EB7AFA #FA7AC9
triadic
#EB7AFA #FAEB7A #7AFAEB
tetradic
#EB7AFA #FAAB7A #89FA7A #7AC9FA
square
#EB7AFA #FAAB7A #89FA7A #7AC9FA
split-complementary
#EB7AFA #C9FA7A #7AFAAB
monochromatic
#D509F1 #E23FF8 #EB7AFA #F4B5FC #FBE2FE

Accessibility & contrast

On white

2.41
#EB7AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#EB7AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB7AFA
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB7AFA#FFFFFF#000000##000000
##EB7AFA1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#8AABF6
Tritanopia (blue-blind)
#EE8BAF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #eb7afa;
/* rgb */ color: rgb(235, 122, 250);
/* oklch */ color: oklch(75.3% 0.208 322.8);
Tailwind
colors: {
  custom: {
    50: '#f4a5fc',
    500: '#eb7afa',
    950: '#000000',
  },
}
SCSS
$custom: #eb7afa;
$custom-light: #f4a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#eb7afa",
  "rgb": {
    "r": 235,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 292.969,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75307,
    "c": 0.20793,
    "h": 322.8
  },
  "luminance": 0.38483
}

Semantic roles & 50–950 ramp

primary
#EB7AFA
secondary
#D9F6D5
accent
#E6001B
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #EB7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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