#EC8FFB#EC8FFB

#EC8FFB is a light, vivid purple. Relative luminance 0.444; OKLCH L 78.4% C 0.176 H 321.9°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#EC8FFB
RGBrgb(236, 143, 251)
HSLhsl(292, 93%, 77%)
HSVhsv(292, 43%, 98%)
CMYKcmyk(6%, 43%, 0%, 1.6%)
CIE-LABlab(72.53, 51.65, -39.53)
CIE-LCHlch(72.53, 65.04, 322.57°)
OKLaboklab(78.43% 0.1385 -0.1087)
OKLCHoklch(78.43% 0.176 321.9)
XYZxyz(61.8252, 44.4452, 96.5702)
Luminance0.4444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8FFB #9EFB8F
analogous
#B68FFB #EC8FFB #FB8FD4
triadic
#EC8FFB #FBEC8F #8FFBEC
tetradic
#EC8FFB #FBB68F #9EFB8F #8FD4FB
square
#EC8FFB #FBB68F #9EFB8F #8FD4FB
split-complementary
#EC8FFB #D4FB8F #8FFBB6
monochromatic
#D819F7 #E254F9 #EC8FFB #F6CAFD #FAE1FE

Accessibility & contrast

On white

2.12
#EC8FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#EC8FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8FFB
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8FFB#FFFFFF#000000##000000
##EC8FFB1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFF
Deuteranopia (green-blind)
#9AB6F8
Tritanopia (blue-blind)
#EF9CB9
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ec8ffb;
/* rgb */ color: rgb(236, 143, 251);
/* oklch */ color: oklch(78.4% 0.176 321.9);
Tailwind
colors: {
  custom: {
    50: '#f4b2fd',
    500: '#ec8ffb',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ffb;
$custom-light: #f4b2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ffb",
  "rgb": {
    "r": 236,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 291.667,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.78425,
    "c": 0.17608,
    "h": 321.9
  },
  "luminance": 0.44443
}

Semantic roles & 50–950 ramp

primary
#EC8FFB
secondary
#D9F6D5
accent
#E60020
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC8FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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