#EB8CF2#EB8CF2

#EB8CF2 is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.5% C 0.172 H 324.6°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#EB8CF2
RGBrgb(235, 140, 242)
HSLhsl(296, 80%, 75%)
HSVhsv(296, 42%, 95%)
CMYKcmyk(2.9%, 42.1%, 0%, 5.1%)
CIE-LABlab(71.44, 51.22, -36.32)
CIE-LCHlch(71.44, 62.79, 324.66°)
OKLaboklab(77.47% 0.1399 -0.0995)
OKLCHoklch(77.47% 0.172 324.6)
XYZxyz(59.6646, 42.8317, 89.1117)
Luminance0.4283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EB8CF2 #93F28C
analogous
#B88CF2 #EB8CF2 #F28CC6
triadic
#EB8CF2 #F2EB8C #8CF2EB
tetradic
#EB8CF2 #F2B88C #93F28C #8CC6F2
square
#EB8CF2 #F2B88C #93F28C #8CC6F2
split-complementary
#EB8CF2 #C6F28C #8CF2B8
monochromatic
#D81EE6 #E155EC #EB8CF2 #F5C3F8 #FAE4FC

Accessibility & contrast

On white

2.20
#EB8CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#EB8CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EB8CF2
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EB8CF2#FFFFFF#000000##000000
##EB8CF21.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A8F6
Deuteranopia (green-blind)
#9BB3EF
Tritanopia (blue-blind)
#EF97B4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #eb8cf2;
/* rgb */ color: rgb(235, 140, 242);
/* oklch */ color: oklch(77.5% 0.172 324.6);
Tailwind
colors: {
  custom: {
    50: '#f3b0f6',
    500: '#eb8cf2',
    950: '#000000',
  },
}
SCSS
$custom: #eb8cf2;
$custom-light: #f3b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#eb8cf2",
  "rgb": {
    "r": 235,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 295.882,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77468,
    "c": 0.1717,
    "h": 324.6
  },
  "luminance": 0.42829
}

Semantic roles & 50–950 ramp

primary
#EB8CF2
secondary
#D9F4D7
accent
#DC0A18
background
#FFFBFF
surface
#FEF6FE
border
#D6D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EB8CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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