#EC8CFB#EC8CFB

#EC8CFB is a light, vivid purple. Relative luminance 0.436; OKLCH L 78.0% C 0.181 H 322.0°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#EC8CFB
RGBrgb(236, 140, 251)
HSLhsl(292, 93%, 77%)
HSVhsv(292, 44%, 98%)
CMYKcmyk(6%, 44.2%, 0%, 1.6%)
CIE-LABlab(71.93, 53.17, -40.45)
CIE-LCHlch(71.93, 66.81, 322.73°)
OKLaboklab(77.98% 0.1427 -0.1113)
OKLCHoklch(77.98% 0.181 322)
XYZxyz(61.3808, 43.5565, 96.4221)
Luminance0.4355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8CFB #9BFB8C
analogous
#B58CFB #EC8CFB #FB8CD3
triadic
#EC8CFB #FBEC8C #8CFBEC
tetradic
#EC8CFB #FBB58C #9BFB8C #8CD3FB
square
#EC8CFB #FBB58C #9BFB8C #8CD3FB
split-complementary
#EC8CFB #D3FB8C #8CFBB5
monochromatic
#D816F7 #E251F9 #EC8CFB #F6C7FD #FAE1FE

Accessibility & contrast

On white

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

On black

9.71
#EC8CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8CFB
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8CFB#FFFFFF#000000##000000
##EC8CFB1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#98B4F8
Tritanopia (blue-blind)
#EF99B8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ec8cfb;
/* rgb */ color: rgb(236, 140, 251);
/* oklch */ color: oklch(78.0% 0.181 322.0);
Tailwind
colors: {
  custom: {
    50: '#f4b0fd',
    500: '#ec8cfb',
    950: '#000000',
  },
}
SCSS
$custom: #ec8cfb;
$custom-light: #f4b0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8cfb",
  "rgb": {
    "r": 236,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 291.892,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.77982,
    "c": 0.18097,
    "h": 322
  },
  "luminance": 0.43554
}

Semantic roles & 50–950 ramp

primary
#EC8CFB
secondary
#D9F6D5
accent
#E6001F
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC8CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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