#EC92FC#EC92FC

#EC92FC is a light, vivid purple. Relative luminance 0.454; OKLCH L 78.9% C 0.172 H 321.4°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#EC92FC
RGBrgb(236, 146, 252)
HSLhsl(291, 95%, 78%)
HSVhsv(291, 42%, 99%)
CMYKcmyk(6.3%, 42.1%, 0%, 1.2%)
CIE-LABlab(73.17, 50.31, -39.07)
CIE-LCHlch(73.17, 63.70, 322.17°)
OKLaboklab(78.92% 0.1345 -0.1074)
OKLCHoklch(78.92% 0.172 321.4)
XYZxyz(62.4396, 45.4212, 97.5547)
Luminance0.4542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC92FC #A2FC92
analogous
#B792FC #EC92FC #FC92D7
triadic
#EC92FC #FCEC92 #92FCEC
tetradic
#EC92FC #FCB792 #A2FC92 #92D7FC
square
#EC92FC #FCB792 #A2FC92 #92D7FC
split-complementary
#EC92FC #D7FC92 #92FCB7
monochromatic
#D71BF9 #E256FA #EC92FC #F6CEFE #FAE1FE

Accessibility & contrast

On white

2.08
#EC92FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#EC92FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC92FC
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC92FC#FFFFFF#000000##000000
##EC92FC1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ADFF
Deuteranopia (green-blind)
#9CB7F9
Tritanopia (blue-blind)
#EE9FBB
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ec92fc;
/* rgb */ color: rgb(236, 146, 252);
/* oklch */ color: oklch(78.9% 0.172 321.4);
Tailwind
colors: {
  custom: {
    50: '#f4b4fd',
    500: '#ec92fc',
    950: '#000000',
  },
}
SCSS
$custom: #ec92fc;
$custom-light: #f4b4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec92fc",
  "rgb": {
    "r": 236,
    "g": 146,
    "b": 252
  },
  "hsl": {
    "h": 290.943,
    "s": 94.643,
    "l": 78.039
  },
  "oklch": {
    "l": 0.7892,
    "c": 0.17214,
    "h": 321.4
  },
  "luminance": 0.45419
}

Semantic roles & 50–950 ramp

primary
#EC92FC
secondary
#DAF6D5
accent
#E60023
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171117
muted
#858085

Preview Lab

Preview with #EC92FC

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

Preview Lab → · Contrast checker → · Palette generator →

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