#EB97F2#EB97F2

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

Color values

HEX#EB97F2
RGBrgb(235, 151, 242)
HSLhsl(295, 78%, 77%)
HSVhsv(295, 38%, 95%)
CMYKcmyk(2.9%, 37.6%, 0%, 5.1%)
CIE-LABlab(73.68, 45.56, -32.85)
CIE-LCHlch(73.68, 56.17, 324.21°)
OKLaboklab(79.15% 0.1243 -0.0897)
OKLCHoklch(79.15% 0.153 324.2)
XYZxyz(61.3530, 46.2085, 89.6745)
Luminance0.4621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB97F2 #9EF297
analogous
#BE97F2 #EB97F2 #F297CB
triadic
#EB97F2 #F2EB97 #97F2EB
tetradic
#EB97F2 #F2BE97 #9EF297 #97CBF2
square
#EB97F2 #F2BE97 #9EF297 #97CBF2
split-complementary
#EB97F2 #CBF297 #97F2BE
monochromatic
#D62AE4 #E161EB #EB97F2 #F5CDF9 #FAE4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EB97F2#FFFFFF#000000##000000
##EB97F21.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)
#8EAFF5
Deuteranopia (green-blind)
#A4B9EF
Tritanopia (blue-blind)
#EFA1B9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #eb97f2;
/* rgb */ color: rgb(235, 151, 242);
/* oklch */ color: oklch(79.1% 0.153 324.2);
Tailwind
colors: {
  custom: {
    50: '#f3b7f6',
    500: '#eb97f2',
    950: '#000000',
  },
}
SCSS
$custom: #eb97f2;
$custom-light: #f3b7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb97f2",
  "rgb": {
    "r": 235,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 295.385,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.79148,
    "c": 0.15327,
    "h": 324.2
  },
  "luminance": 0.46206
}

Semantic roles & 50–950 ramp

primary
#EB97F2
secondary
#DAF3D8
accent
#DA0B1B
background
#FFFBFF
surface
#FEF6FE
border
#D6D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EB97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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