#EC91EC#EC91EC

#EC91EC is a light, vivid purple. Relative luminance 0.441; OKLCH L 78.1% C 0.158 H 327.0°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#EC91EC
RGBrgb(236, 145, 236)
HSLhsl(300, 71%, 75%)
HSVhsv(300, 39%, 93%)
CMYKcmyk(0%, 38.6%, 0%, 7.5%)
CIE-LABlab(72.32, 47.87, -31.66)
CIE-LCHlch(72.32, 57.39, 326.52°)
OKLaboklab(78.08% 0.1327 -0.0863)
OKLCHoklch(78.08% 0.158 327)
XYZxyz(59.8566, 44.1425, 84.7080)
Luminance0.4414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC91EC #91EC91
analogous
#BF91EC #EC91EC #EC91BF
triadic
#EC91EC #ECEC91 #91ECEC
tetradic
#EC91EC #ECBF91 #91EC91 #91BFEC
square
#EC91EC #ECBF91 #91EC91 #91BFEC
split-complementary
#EC91EC #BFEC91 #91ECBF
monochromatic
#DA29DA #E35DE3 #EC91EC #F5C5F5 #FAE5FA

Accessibility & contrast

On white

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

On black

9.83
#EC91EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC91EC
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC91EC#FFFFFF#000000##000000
##EC91EC1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEF
Deuteranopia (green-blind)
#A2B6E9
Tritanopia (blue-blind)
#F19AB4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ec91ec;
/* rgb */ color: rgb(236, 145, 236);
/* oklch */ color: oklch(78.1% 0.158 327.0);
Tailwind
colors: {
  custom: {
    50: '#f4b3f2',
    500: '#ec91ec',
    950: '#000000',
  },
}
SCSS
$custom: #ec91ec;
$custom-light: #f4b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec91ec",
  "rgb": {
    "r": 236,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 300,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.78076,
    "c": 0.15828,
    "h": 327
  },
  "luminance": 0.4414
}

Semantic roles & 50–950 ramp

primary
#EC91EC
secondary
#D9F2D9
accent
#D31313
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EC91EC

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

Preview Lab → · Contrast checker → · Palette generator →

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