#EC8FFF#EC8FFF

#EC8FFF is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.6% C 0.180 H 320.6°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#EC8FFF
RGBrgb(236, 143, 255)
HSLhsl(290, 100%, 78%)
HSVhsv(290, 44%, 100%)
CMYKcmyk(7.5%, 43.9%, 0%, 0%)
CIE-LABlab(72.69, 52.41, -41.44)
CIE-LCHlch(72.69, 66.81, 321.67°)
OKLaboklab(78.61% 0.1392 -0.1142)
OKLCHoklch(78.61% 0.18 320.6)
XYZxyz(62.4624, 44.7001, 99.9261)
Luminance0.4470 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC8FFF #A2FF8F
analogous
#B48FFF #EC8FFF #FF8FDA
triadic
#EC8FFF #FFEC8F #8FFFEC
tetradic
#EC8FFF #FFB48F #A2FF8F #8FDAFF
square
#EC8FFF #FFB48F #A2FF8F #8FDAFF
split-complementary
#EC8FFF #DAFF8F #8FFFB4
monochromatic
#D715FF #E252FF #EC8FFF #F6CCFF #FAE0FF

Accessibility & contrast

On white

2.11
#EC8FFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.94
#EC8FFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC8FFF
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC8FFF#FFFFFF#000000##000000
##EC8FFF1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FACFF
Deuteranopia (green-blind)
#99B6FC
Tritanopia (blue-blind)
#EE9DBB
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ec8fff;
/* rgb */ color: rgb(236, 143, 255);
/* oklch */ color: oklch(78.6% 0.180 320.6);
Tailwind
colors: {
  custom: {
    50: '#f4b2ff',
    500: '#ec8fff',
    950: '#000000',
  },
}
SCSS
$custom: #ec8fff;
$custom-light: #f4b2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ec8fff",
  "rgb": {
    "r": 236,
    "g": 143,
    "b": 255
  },
  "hsl": {
    "h": 289.821,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.78607,
    "c": 0.18005,
    "h": 320.6
  },
  "luminance": 0.44698
}

Semantic roles & 50–950 ramp

primary
#EC8FFF
secondary
#DAF7D4
accent
#E60027
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086

Preview Lab

Preview with #EC8FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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