#EB8FF2#EB8FF2

#EB8FF2 is a light, vivid purple. Relative luminance 0.437; OKLCH L 77.9% C 0.167 H 324.5°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#EB8FF2
RGBrgb(235, 143, 242)
HSLhsl(296, 79%, 75%)
HSVhsv(296, 41%, 95%)
CMYKcmyk(2.9%, 40.9%, 0%, 5.1%)
CIE-LABlab(72.04, 49.69, -35.39)
CIE-LCHlch(72.04, 61.00, 324.54°)
OKLaboklab(77.92% 0.1357 -0.0969)
OKLCHoklch(77.92% 0.167 324.5)
XYZxyz(60.1089, 43.7204, 89.2598)
Luminance0.4372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8FF2 #96F28F
analogous
#BA8FF2 #EB8FF2 #F28FC7
triadic
#EB8FF2 #F2EB8F #8FF2EB
tetradic
#EB8FF2 #F2BA8F #96F28F #8FC7F2
square
#EB8FF2 #F2BA8F #96F28F #8FC7F2
split-complementary
#EB8FF2 #C7F28F #8FF2BA
monochromatic
#D721E5 #E158EC #EB8FF2 #F5C6F8 #FAE4FC

Accessibility & contrast

On white

2.16
#EB8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#EB8FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8FF2
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8FF2#FFFFFF#000000##000000
##EB8FF21.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A9F6
Deuteranopia (green-blind)
#9DB5EF
Tritanopia (blue-blind)
#EF9AB5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #eb8ff2;
/* rgb */ color: rgb(235, 143, 242);
/* oklch */ color: oklch(77.9% 0.167 324.5);
Tailwind
colors: {
  custom: {
    50: '#f3b2f6',
    500: '#eb8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #eb8ff2;
$custom-light: #f3b2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8ff2",
  "rgb": {
    "r": 235,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 295.758,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.77917,
    "c": 0.16672,
    "h": 324.5
  },
  "luminance": 0.43718
}

Semantic roles & 50–950 ramp

primary
#EB8FF2
secondary
#D9F4D7
accent
#DB0A19
background
#FFFBFF
surface
#FEF6FE
border
#D6D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EB8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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