#EB98EF#EB98EF

#EB98EF is a light, vivid purple. Relative luminance 0.464; OKLCH L 79.2% C 0.149 H 325.3°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#EB98EF
RGBrgb(235, 152, 239)
HSLhsl(297, 73%, 77%)
HSVhsv(297, 36%, 94%)
CMYKcmyk(1.7%, 36.4%, 0%, 6.3%)
CIE-LABlab(73.77, 44.49, -31.07)
CIE-LCHlch(73.77, 54.27, 325.07°)
OKLaboklab(79.18% 0.1221 -0.0847)
OKLCHoklch(79.18% 0.149 325.3)
XYZxyz(61.0677, 46.3530, 87.3749)
Luminance0.4635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB98EF #9CEF98
analogous
#C098EF #EB98EF #EF98C8
triadic
#EB98EF #EFEB98 #98EFEB
tetradic
#EB98EF #EFC098 #9CEF98 #98C8EF
square
#EB98EF #EFC098 #9CEF98 #98C8EF
split-complementary
#EB98EF #C8EF98 #98EFC0
monochromatic
#D62EDF #E163E7 #EB98EF #F5CDF7 #FAE5FB

Accessibility & contrast

On white

2.04
#EB98EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#EB98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB98EF
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB98EF#FFFFFF#000000##000000
##EB98EF1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AFF2
Deuteranopia (green-blind)
#A5B9EC
Tritanopia (blue-blind)
#EFA1B9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #eb98ef;
/* rgb */ color: rgb(235, 152, 239);
/* oklch */ color: oklch(79.2% 0.149 325.3);
Tailwind
colors: {
  custom: {
    50: '#f3b8f4',
    500: '#eb98ef',
    950: '#000000',
  },
}
SCSS
$custom: #eb98ef;
$custom-light: #f3b8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#eb98ef",
  "rgb": {
    "r": 235,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 297.241,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7918,
    "c": 0.14863,
    "h": 325.3
  },
  "luminance": 0.46351
}

Semantic roles & 50–950 ramp

primary
#EB98EF
secondary
#DAF3D8
accent
#D51019
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EB98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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