#EC8FF5#EC8FF5

#EC8FF5 is a light, vivid purple. Relative luminance 0.441; OKLCH L 78.2% C 0.170 H 323.8°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#EC8FF5
RGBrgb(236, 143, 245)
HSLhsl(295, 84%, 76%)
HSVhsv(295, 42%, 96%)
CMYKcmyk(3.7%, 41.6%, 0%, 3.9%)
CIE-LABlab(72.28, 50.53, -36.65)
CIE-LCHlch(72.28, 62.42, 324.05°)
OKLaboklab(78.16% 0.1374 -0.1005)
OKLCHoklch(78.16% 0.17 323.8)
XYZxyz(60.8943, 44.0729, 91.6678)
Luminance0.4407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8FF5 #98F58F
analogous
#B98FF5 #EC8FF5 #F58FCB
triadic
#EC8FF5 #F5EC8F #8FF5EC
tetradic
#EC8FF5 #F5B98F #98F58F #8FCBF5
square
#EC8FF5 #F5B98F #98F58F #8FCBF5
split-complementary
#EC8FF5 #CBF58F #8FF5B9
monochromatic
#D91FEB #E257F0 #EC8FF5 #F6C7FA #FAE3FC

Accessibility & contrast

On white

2.14
#EC8FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#EC8FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8FF5
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8FF5#FFFFFF#000000##000000
##EC8FF51.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AAF9
Deuteranopia (green-blind)
#9DB5F2
Tritanopia (blue-blind)
#F09AB7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ec8ff5;
/* rgb */ color: rgb(236, 143, 245);
/* oklch */ color: oklch(78.2% 0.170 323.8);
Tailwind
colors: {
  custom: {
    50: '#f4b2f8',
    500: '#ec8ff5',
    950: '#000000',
  },
}
SCSS
$custom: #ec8ff5;
$custom-light: #f4b2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8ff5",
  "rgb": {
    "r": 236,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 294.706,
    "s": 83.607,
    "l": 76.078
  },
  "oklch": {
    "l": 0.78158,
    "c": 0.17021,
    "h": 323.8
  },
  "luminance": 0.4407
}

Semantic roles & 50–950 ramp

primary
#EC8FF5
secondary
#D9F4D7
accent
#E00519
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC8FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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