#EC8BF8#EC8BF8

#EC8BF8 is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.7% C 0.180 H 323.0°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#EC8BF8
RGBrgb(236, 139, 248)
HSLhsl(293, 89%, 76%)
HSVhsv(293, 44%, 97%)
CMYKcmyk(4.8%, 44%, 0%, 2.7%)
CIE-LABlab(71.61, 53.12, -39.32)
CIE-LCHlch(71.61, 66.09, 323.49°)
OKLaboklab(77.7% 0.1435 -0.1081)
OKLCHoklch(77.7% 0.18 323)
XYZxyz(60.7662, 43.0779, 93.9027)
Luminance0.4308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8BF8 #97F88B
analogous
#B58BF8 #EC8BF8 #F88BCE
triadic
#EC8BF8 #F8EC8B #8BF8EC
tetradic
#EC8BF8 #F8B58B #97F88B #8BCEF8
square
#EC8BF8 #F8B58B #97F88B #8BCEF8
split-complementary
#EC8BF8 #CEF88B #8BF8B5
monochromatic
#D918F1 #E351F5 #EC8BF8 #F5C5FB #FAE2FD

Accessibility & contrast

On white

2.18
#EC8BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#EC8BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8BF8
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8BF8#FFFFFF#000000##000000
##EC8BF81.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA8FC
Deuteranopia (green-blind)
#99B3F5
Tritanopia (blue-blind)
#EF98B6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ec8bf8;
/* rgb */ color: rgb(236, 139, 248);
/* oklch */ color: oklch(77.7% 0.180 323.0);
Tailwind
colors: {
  custom: {
    50: '#f4affb',
    500: '#ec8bf8',
    950: '#000000',
  },
}
SCSS
$custom: #ec8bf8;
$custom-light: #f4affb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8bf8",
  "rgb": {
    "r": 236,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 293.394,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77699,
    "c": 0.17969,
    "h": 323
  },
  "luminance": 0.43075
}

Semantic roles & 50–950 ramp

primary
#EC8BF8
secondary
#D9F5D6
accent
#E50019
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC8BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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