#EB98FF#EB98FF

#EB98FF is a light, vivid purple. Relative luminance 0.473; OKLCH L 79.9% C 0.165 H 319.7°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#EB98FF
RGBrgb(235, 152, 255)
HSLhsl(288, 100%, 80%)
HSVhsv(288, 40%, 100%)
CMYKcmyk(7.8%, 40.4%, 0%, 0%)
CIE-LABlab(74.41, 47.50, -38.78)
CIE-LCHlch(74.41, 61.32, 320.77°)
OKLaboklab(79.86% 0.1255 -0.1066)
OKLCHoklch(79.86% 0.165 319.7)
XYZxyz(63.5369, 47.3407, 100.3791)
Luminance0.4734 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB98FF #ACFF98
analogous
#B898FF #EB98FF #FF98DF
triadic
#EB98FF #FFEB98 #98FFEB
tetradic
#EB98FF #FFB898 #ACFF98 #98DFFF
square
#EB98FF #FFB898 #ACFF98 #98DFFF
split-complementary
#EB98FF #DFFF98 #98FFB8
monochromatic
#D31EFF #DF5BFF #EB98FF #F7D5FF #F9E0FF

Accessibility & contrast

On white

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

On black

10.47
#EB98FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB98FF
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB98FF#FFFFFF#000000##000000
##EB98FF1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B1FF
Deuteranopia (green-blind)
#9FBAFC
Tritanopia (blue-blind)
#ECA5C0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #eb98ff;
/* rgb */ color: rgb(235, 152, 255);
/* oklch */ color: oklch(79.9% 0.165 319.7);
Tailwind
colors: {
  custom: {
    50: '#f3b8ff',
    500: '#eb98ff',
    950: '#000000',
  },
}
SCSS
$custom: #eb98ff;
$custom-light: #f3b8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#eb98ff",
  "rgb": {
    "r": 235,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 288.35,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.79864,
    "c": 0.16472,
    "h": 319.7
  },
  "luminance": 0.47339
}

Semantic roles & 50–950 ramp

primary
#EB98FF
secondary
#DBF7D4
accent
#E6002D
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EB98FF

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

Preview Lab → · Contrast checker → · Palette generator →

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