#EB98FC#EB98FC

#EB98FC is a light, vivid purple. Relative luminance 0.471; OKLCH L 79.7% C 0.162 H 320.6°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#EB98FC
RGBrgb(235, 152, 252)
HSLhsl(290, 94%, 79%)
HSVhsv(290, 40%, 99%)
CMYKcmyk(6.7%, 39.7%, 0%, 1.2%)
CIE-LABlab(74.28, 46.92, -37.34)
CIE-LCHlch(74.28, 59.97, 321.49°)
OKLaboklab(79.73% 0.125 -0.1025)
OKLCHoklch(79.73% 0.162 320.6)
XYZxyz(63.0577, 47.1490, 97.8556)
Luminance0.4715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB98FC #A9FC98
analogous
#B998FC #EB98FC #FC98DB
triadic
#EB98FC #FCEB98 #98FCEB
tetradic
#EB98FC #FCB998 #A9FC98 #98DBFC
square
#EB98FC #FCB998 #A9FC98 #98DBFC
split-complementary
#EB98FC #DBFC98 #98FCB9
monochromatic
#D421F9 #DF5DFA #EB98FC #F7D3FE #F9E1FE

Accessibility & contrast

On white

2.01
#EB98FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#EB98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB98FC
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB98FC#FFFFFF#000000##000000
##EB98FC1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB1FF
Deuteranopia (green-blind)
#A0BAF9
Tritanopia (blue-blind)
#EDA4BE
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #eb98fc;
/* rgb */ color: rgb(235, 152, 252);
/* oklch */ color: oklch(79.7% 0.162 320.6);
Tailwind
colors: {
  custom: {
    50: '#f3b8fd',
    500: '#eb98fc',
    950: '#000000',
  },
}
SCSS
$custom: #eb98fc;
$custom-light: #f3b8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#eb98fc",
  "rgb": {
    "r": 235,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 289.8,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79733,
    "c": 0.16164,
    "h": 320.6
  },
  "luminance": 0.47147
}

Semantic roles & 50–950 ramp

primary
#EB98FC
secondary
#DAF6D5
accent
#E60027
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EB98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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