#EB98EC#EB98EC

#EB98EC is a light, vivid purple. Relative luminance 0.462; OKLCH L 79.1% C 0.146 H 326.4°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#EB98EC
RGBrgb(235, 152, 236)
HSLhsl(299, 69%, 76%)
HSVhsv(299, 36%, 93%)
CMYKcmyk(0.4%, 35.6%, 0%, 7.5%)
CIE-LABlab(73.66, 43.94, -29.61)
CIE-LCHlch(73.66, 52.99, 326.03°)
OKLaboklab(79.06% 0.1214 -0.0806)
OKLCHoklch(79.06% 0.146 326.4)
XYZxyz(60.6282, 46.1772, 85.0601)
Luminance0.4617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB98EC #99EC98
analogous
#C198EC #EB98EC #EC98C3
triadic
#EB98EC #ECEB98 #98ECEB
tetradic
#EB98EC #ECC198 #99EC98 #98C3EC
square
#EB98EC #ECC198 #99EC98 #98C3EC
split-complementary
#EB98EC #C3EC98 #98ECC1
monochromatic
#D731D9 #E164E2 #EB98EC #F5CCF6 #FAE5FA

Accessibility & contrast

On white

2.05
#EB98EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#EB98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB98EC
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB98EC#FFFFFF#000000##000000
##EB98EC1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AEEF
Deuteranopia (green-blind)
#A7B9E9
Tritanopia (blue-blind)
#F0A0B7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #eb98ec;
/* rgb */ color: rgb(235, 152, 236);
/* oklch */ color: oklch(79.1% 0.146 326.4);
Tailwind
colors: {
  custom: {
    50: '#f3b8f2',
    500: '#eb98ec',
    950: '#000000',
  },
}
SCSS
$custom: #eb98ec;
$custom-light: #f3b8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#eb98ec",
  "rgb": {
    "r": 235,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 299.286,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.79057,
    "c": 0.14573,
    "h": 326.4
  },
  "luminance": 0.46175
}

Semantic roles & 50–950 ramp

primary
#EB98EC
secondary
#DAF2D9
accent
#D11517
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EB98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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