#EB97FA#EB97FA

#EB97FA is a light, vivid purple. Relative luminance 0.467; OKLCH L 79.5% C 0.161 H 321.4°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#EB97FA
RGBrgb(235, 151, 250)
HSLhsl(291, 91%, 79%)
HSVhsv(291, 40%, 98%)
CMYKcmyk(6%, 39.6%, 0%, 2%)
CIE-LABlab(74.00, 47.06, -36.71)
CIE-LCHlch(74.00, 59.68, 322.05°)
OKLaboklab(79.49% 0.126 -0.1007)
OKLCHoklch(79.49% 0.161 321.4)
XYZxyz(62.5808, 46.6997, 96.1414)
Luminance0.4670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB97FA #A6FA97
analogous
#B997FA #EB97FA #FA97D7
triadic
#EB97FA #FAEB97 #97FAEB
tetradic
#EB97FA #FAB997 #A6FA97 #97D7FA
square
#EB97FA #FAB997 #A6FA97 #97D7FA
split-complementary
#EB97FA #D7FA97 #97FAB9
monochromatic
#D522F4 #E05DF7 #EB97FA #F6D1FD #F9E2FE

Accessibility & contrast

On white

2.03
#EB97FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#EB97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB97FA
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB97FA#FFFFFF#000000##000000
##EB97FA1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FE
Deuteranopia (green-blind)
#A0B9F7
Tritanopia (blue-blind)
#EDA3BD
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #eb97fa;
/* rgb */ color: rgb(235, 151, 250);
/* oklch */ color: oklch(79.5% 0.161 321.4);
Tailwind
colors: {
  custom: {
    50: '#f3b7fc',
    500: '#eb97fa',
    950: '#000000',
  },
}
SCSS
$custom: #eb97fa;
$custom-light: #f3b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#eb97fa",
  "rgb": {
    "r": 235,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 290.909,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.7949,
    "c": 0.16127,
    "h": 321.4
  },
  "luminance": 0.46698
}

Semantic roles & 50–950 ramp

primary
#EB97FA
secondary
#DAF6D5
accent
#E60023
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EB97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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