#EB98FA#EB98FA

#EB98FA is a light, vivid purple. Relative luminance 0.470; OKLCH L 79.6% C 0.160 H 321.3°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#EB98FA
RGBrgb(235, 152, 250)
HSLhsl(291, 91%, 79%)
HSVhsv(291, 39%, 98%)
CMYKcmyk(6%, 39.2%, 0%, 2%)
CIE-LABlab(74.20, 46.54, -36.38)
CIE-LCHlch(74.20, 59.08, 321.98°)
OKLaboklab(79.65% 0.1245 -0.0998)
OKLCHoklch(79.65% 0.16 321.3)
XYZxyz(62.7425, 47.0229, 96.1952)
Luminance0.4702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB98FA #A7FA98
analogous
#BA98FA #EB98FA #FA98D8
triadic
#EB98FA #FAEB98 #98FAEB
tetradic
#EB98FA #FABA98 #A7FA98 #98D8FA
square
#EB98FA #FABA98 #A7FA98 #98D8FA
split-complementary
#EB98FA #D8FA98 #98FABA
monochromatic
#D423F4 #E05EF7 #EB98FA #F6D2FD #F9E2FE

Accessibility & contrast

On white

2.02
#EB98FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#EB98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB98FA
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB98FA#FFFFFF#000000##000000
##EB98FA1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eb98fa;
/* rgb */ color: rgb(235, 152, 250);
/* oklch */ color: oklch(79.6% 0.160 321.3);
Tailwind
colors: {
  custom: {
    50: '#f3b8fc',
    500: '#eb98fa',
    950: '#000000',
  },
}
SCSS
$custom: #eb98fa;
$custom-light: #f3b8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#eb98fa",
  "rgb": {
    "r": 235,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 290.816,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.79646,
    "c": 0.15959,
    "h": 321.3
  },
  "luminance": 0.47021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EB98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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