#EC82FC#EC82FC

#EC82FC is a light, vivid purple. Relative luminance 0.408; OKLCH L 76.6% C 0.198 H 322.2°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#EC82FC
RGBrgb(236, 130, 252)
HSLhsl(292, 95%, 75%)
HSVhsv(292, 48%, 99%)
CMYKcmyk(6.3%, 48.4%, 0%, 1.2%)
CIE-LABlab(70.06, 58.33, -43.93)
CIE-LCHlch(70.06, 73.02, 323.01°)
OKLaboklab(76.6% 0.1564 -0.1213)
OKLCHoklch(76.6% 0.198 322.2)
XYZxyz(60.1435, 40.8290, 96.7893)
Luminance0.4083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC82FC #92FC82
analogous
#AF82FC #EC82FC #FC82CF
triadic
#EC82FC #FCEC82 #82FCEC
tetradic
#EC82FC #FCAF82 #92FC82 #82CFFC
square
#EC82FC #FCAF82 #92FC82 #82CFFC
split-complementary
#EC82FC #CFFC82 #82FCAF
monochromatic
#DA0AF9 #E346FB #EC82FC #F5BEFD #FAE1FE

Accessibility & contrast

On white

2.29
#EC82FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#EC82FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC82FC
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC82FC#FFFFFF#000000##000000
##EC82FC1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#90AFF8
Tritanopia (blue-blind)
#EF92B4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ec82fc;
/* rgb */ color: rgb(236, 130, 252);
/* oklch */ color: oklch(76.6% 0.198 322.2);
Tailwind
colors: {
  custom: {
    50: '#f4aafe',
    500: '#ec82fc',
    950: '#000000',
  },
}
SCSS
$custom: #ec82fc;
$custom-light: #f4aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#ec82fc",
  "rgb": {
    "r": 236,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 292.131,
    "s": 95.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76603,
    "c": 0.19793,
    "h": 322.2
  },
  "luminance": 0.40826
}

Semantic roles & 50–950 ramp

primary
#EC82FC
secondary
#D9F7D4
accent
#E6001E
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86

Preview Lab

Preview with #EC82FC

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

Preview Lab → · Contrast checker → · Palette generator →

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