#EC82FE#EC82FE

#EC82FE is a light, vivid purple. Relative luminance 0.410; OKLCH L 76.7% C 0.200 H 321.6°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#EC82FE
RGBrgb(236, 130, 254)
HSLhsl(291, 98%, 75%)
HSVhsv(291, 49%, 100%)
CMYKcmyk(7.1%, 48.8%, 0%, 0.4%)
CIE-LABlab(70.15, 58.70, -44.88)
CIE-LCHlch(70.15, 73.89, 322.60°)
OKLaboklab(76.7% 0.1567 -0.124)
OKLCHoklch(76.7% 0.2 321.6)
XYZxyz(60.4621, 40.9565, 98.4673)
Luminance0.4095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC82FE #94FE82
analogous
#AE82FE #EC82FE #FE82D2
triadic
#EC82FE #FEEC82 #82FEEC
tetradic
#EC82FE #FEAE82 #94FE82 #82D2FE
square
#EC82FE #FEAE82 #94FE82 #82D2FE
split-complementary
#EC82FE #D2FE82 #82FEAE
monochromatic
#DA09FD #E345FE #EC82FE #F5BFFE #FAE1FF

Accessibility & contrast

On white

2.28
#EC82FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#EC82FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC82FE
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC82FE#FFFFFF#000000##000000
##EC82FE1.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA4FF
Deuteranopia (green-blind)
#8FB0FA
Tritanopia (blue-blind)
#EE92B5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #ec82fe;
/* rgb */ color: rgb(236, 130, 254);
/* oklch */ color: oklch(76.7% 0.200 321.6);
Tailwind
colors: {
  custom: {
    50: '#f4aaff',
    500: '#ec82fe',
    950: '#000000',
  },
}
SCSS
$custom: #ec82fe;
$custom-light: #f4aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#ec82fe",
  "rgb": {
    "r": 236,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 291.29,
    "s": 98.413,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76698,
    "c": 0.19983,
    "h": 321.6
  },
  "luminance": 0.40954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC82FE

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

Preview Lab → · Contrast checker → · Palette generator →

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