#EB98FB#EB98FB

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

Color values

HEX#EB98FB
RGBrgb(235, 152, 251)
HSLhsl(290, 93%, 79%)
HSVhsv(290, 39%, 98%)
CMYKcmyk(6.4%, 39.4%, 0%, 1.6%)
CIE-LABlab(74.24, 46.73, -36.86)
CIE-LCHlch(74.24, 59.52, 321.73°)
OKLaboklab(79.69% 0.1248 -0.1012)
OKLCHoklch(79.69% 0.161 321)
XYZxyz(62.8997, 47.0858, 97.0232)
Luminance0.4708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB98FB #A8FB98
analogous
#BA98FB #EB98FB #FB98DA
triadic
#EB98FB #FBEB98 #98FBEB
tetradic
#EB98FB #FBBA98 #A8FB98 #98DAFB
square
#EB98FB #FBBA98 #A8FB98 #98DAFB
split-complementary
#EB98FB #DAFB98 #98FBBA
monochromatic
#D422F6 #E05DF9 #EB98FB #F6D3FD #F9E2FE

Accessibility & contrast

On white

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

On black

10.42
#EB98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB98FB
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB98FB#FFFFFF#000000##000000
##EB98FB1.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eb98fb;
/* rgb */ color: rgb(235, 152, 251);
/* oklch */ color: oklch(79.7% 0.161 321.0);
Tailwind
colors: {
  custom: {
    50: '#f3b8fd',
    500: '#eb98fb',
    950: '#000000',
  },
}
SCSS
$custom: #eb98fb;
$custom-light: #f3b8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#eb98fb",
  "rgb": {
    "r": 235,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 290.303,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.79689,
    "c": 0.16062,
    "h": 321
  },
  "luminance": 0.47084
}

Semantic roles & 50–950 ramp

primary
#EB98FB
secondary
#DAF6D5
accent
#E60025
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EB98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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