#EB98F2#EB98F2

#EB98F2 is a light, vivid purple. Relative luminance 0.465; OKLCH L 79.3% C 0.152 H 324.1°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#EB98F2
RGBrgb(235, 152, 242)
HSLhsl(295, 78%, 77%)
HSVhsv(295, 37%, 95%)
CMYKcmyk(2.9%, 37.2%, 0%, 5.1%)
CIE-LABlab(73.89, 45.04, -32.53)
CIE-LCHlch(73.89, 55.56, 324.17°)
OKLaboklab(79.31% 0.1228 -0.0888)
OKLCHoklch(79.31% 0.152 324.1)
XYZxyz(61.5146, 46.5318, 89.7284)
Luminance0.4653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB98F2 #9FF298
analogous
#BE98F2 #EB98F2 #F298CC
triadic
#EB98F2 #F2EB98 #98F2EB
tetradic
#EB98F2 #F2BE98 #9FF298 #98CCF2
square
#EB98F2 #F2BE98 #9FF298 #98CCF2
split-complementary
#EB98F2 #CCF298 #98F2BE
monochromatic
#D62BE4 #E062EB #EB98F2 #F6CEF9 #FAE4FC

Accessibility & contrast

On white

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

On black

10.31
#EB98F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB98F2
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB98F2#FFFFFF#000000##000000
##EB98F21.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAFF5
Deuteranopia (green-blind)
#A4B9EF
Tritanopia (blue-blind)
#EFA1BA
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #eb98f2;
/* rgb */ color: rgb(235, 152, 242);
/* oklch */ color: oklch(79.3% 0.152 324.1);
Tailwind
colors: {
  custom: {
    50: '#f3b8f6',
    500: '#eb98f2',
    950: '#000000',
  },
}
SCSS
$custom: #eb98f2;
$custom-light: #f3b8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb98f2",
  "rgb": {
    "r": 235,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 295.333,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.79305,
    "c": 0.15157,
    "h": 324.1
  },
  "luminance": 0.46529
}

Semantic roles & 50–950 ramp

primary
#EB98F2
secondary
#DAF3D8
accent
#DA0C1C
background
#FFFBFF
surface
#FEF6FE
border
#D6D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EB98F2

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

Preview Lab → · Contrast checker → · Palette generator →

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