#EC91EB#EC91EB

#EC91EB is a light, vivid purple. Relative luminance 0.441; OKLCH L 78.0% C 0.157 H 327.3°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#EC91EB
RGBrgb(236, 145, 235)
HSLhsl(301, 71%, 75%)
HSVhsv(301, 39%, 93%)
CMYKcmyk(0%, 38.6%, 0.4%, 7.5%)
CIE-LABlab(72.28, 47.69, -31.17)
CIE-LCHlch(72.28, 56.98, 326.83°)
OKLaboklab(78.03% 0.1325 -0.0849)
OKLCHoklch(78.03% 0.157 327.3)
XYZxyz(59.7117, 44.0845, 83.9450)
Luminance0.4408 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC91EB #91EC92
analogous
#BF91EC #EC91EB #EC91BE
triadic
#EC91EB #EBEC91 #91EBEC
tetradic
#EC91EB #ECBF91 #91EC92 #91BEEC
square
#EC91EB #ECBF91 #91EC92 #91BEEC
split-complementary
#EC91EB #BEEC91 #91ECBF
monochromatic
#DA29D8 #E35DE2 #EC91EB #F5C5F4 #FAE5FA

Accessibility & contrast

On white

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

On black

9.82
#EC91EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC91EB
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC91EB#FFFFFF#000000##000000
##EC91EB1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEE
Deuteranopia (green-blind)
#A2B5E8
Tritanopia (blue-blind)
#F199B3
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #ec91eb;
/* rgb */ color: rgb(236, 145, 235);
/* oklch */ color: oklch(78.0% 0.157 327.3);
Tailwind
colors: {
  custom: {
    50: '#f4b3f1',
    500: '#ec91eb',
    950: '#000000',
  },
}
SCSS
$custom: #ec91eb;
$custom-light: #f4b3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec91eb",
  "rgb": {
    "r": 236,
    "g": 145,
    "b": 235
  },
  "hsl": {
    "h": 300.659,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.78034,
    "c": 0.15734,
    "h": 327.3
  },
  "luminance": 0.44082
}

Semantic roles & 50–950 ramp

primary
#EC91EB
secondary
#D9F2D9
accent
#D31513
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085

Preview Lab

Preview with #EC91EB

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

Preview Lab → · Contrast checker → · Palette generator →

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