#EB98DF#EB98DF

#EB98DF is a light, vivid purple. Relative luminance 0.454; OKLCH L 78.5% C 0.134 H 332.1°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#EB98DF
RGBrgb(235, 152, 223)
HSLhsl(309, 67%, 76%)
HSVhsv(309, 35%, 92%)
CMYKcmyk(0%, 35.3%, 5.1%, 7.8%)
CIE-LABlab(73.19, 41.63, -23.23)
CIE-LCHlch(73.19, 47.68, 330.84°)
OKLaboklab(78.54% 0.1181 -0.0626)
OKLCHoklch(78.54% 0.134 332.1)
XYZxyz(58.8078, 45.4491, 75.4726)
Luminance0.4545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB98DF #98EBA4
analogous
#CD98EB #EB98DF #EB98B5
triadic
#EB98DF #DFEB98 #98DFEB
tetradic
#EB98DF #EBCD98 #98EBA4 #98B5EB
square
#EB98DF #EBCD98 #98EBA4 #98B5EB
split-complementary
#EB98DF #B5EB98 #98EBCD
monochromatic
#D732BF #E165CF #EB98DF #F5CBEF #FAE5F7

Accessibility & contrast

On white

2.08
#EB98DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#EB98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB98DF
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB98DF#FFFFFF#000000##000000
##EB98DF1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ADE2
Deuteranopia (green-blind)
#ABB8DC
Tritanopia (blue-blind)
#F29DB2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #eb98df;
/* rgb */ color: rgb(235, 152, 223);
/* oklch */ color: oklch(78.5% 0.134 332.1);
Tailwind
colors: {
  custom: {
    50: '#f2b7e9',
    500: '#eb98df',
    950: '#000000',
  },
}
SCSS
$custom: #eb98df;
$custom-light: #f2b7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#eb98df",
  "rgb": {
    "r": 235,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 308.675,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78543,
    "c": 0.13372,
    "h": 332.1
  },
  "luminance": 0.45446
}

Semantic roles & 50–950 ramp

primary
#EB98DF
secondary
#D9F2DD
accent
#CF3116
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#171116
muted
#858084

Preview Lab

Preview with #EB98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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