#EC91F2#EC91F2

#EC91F2 is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.3% C 0.164 H 324.8°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#EC91F2
RGBrgb(236, 145, 242)
HSLhsl(296, 79%, 76%)
HSVhsv(296, 40%, 95%)
CMYKcmyk(2.5%, 40.1%, 0%, 5.1%)
CIE-LABlab(72.56, 48.96, -34.57)
CIE-LCHlch(72.56, 59.94, 324.77°)
OKLaboklab(78.33% 0.134 -0.0946)
OKLCHoklch(78.33% 0.164 324.8)
XYZxyz(60.7430, 44.4970, 89.3763)
Luminance0.4449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC91F2 #97F291
analogous
#BB91F2 #EC91F2 #F291C7
triadic
#EC91F2 #F2EC91 #91F2EC
tetradic
#EC91F2 #F2BB91 #97F291 #91C7F2
square
#EC91F2 #F2BB91 #97F291 #91C7F2
split-complementary
#EC91F2 #C7F291 #91F2BB
monochromatic
#D924E5 #E35AEC #EC91F2 #F5C8F8 #FAE4FC

Accessibility & contrast

On white

2.12
#EC91F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#EC91F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC91F2
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC91F2#FFFFFF#000000##000000
##EC91F21.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ABF5
Deuteranopia (green-blind)
#A0B6EF
Tritanopia (blue-blind)
#F09BB6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ec91f2;
/* rgb */ color: rgb(236, 145, 242);
/* oklch */ color: oklch(78.3% 0.164 324.8);
Tailwind
colors: {
  custom: {
    50: '#f4b3f6',
    500: '#ec91f2',
    950: '#000000',
  },
}
SCSS
$custom: #ec91f2;
$custom-light: #f4b3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec91f2",
  "rgb": {
    "r": 236,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 296.289,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7833,
    "c": 0.16398,
    "h": 324.8
  },
  "luminance": 0.44494
}

Semantic roles & 50–950 ramp

primary
#EC91F2
secondary
#D9F4D7
accent
#DB0A17
background
#FFFBFF
surface
#FEF6FE
border
#D6D0D6
text
#171117
muted
#858085

Preview Lab

Preview with #EC91F2

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

Preview Lab → · Contrast checker → · Palette generator →

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