#EC5BF5#EC5BF5

#EC5BF5 is a light, highly saturated purple. Relative luminance 0.319; OKLCH L 71.5% C 0.248 H 325.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#EC5BF5
RGBrgb(236, 91, 245)
HSLhsl(296, 89%, 66%)
HSVhsv(296, 63%, 96%)
CMYKcmyk(3.7%, 62.9%, 0%, 3.9%)
CIE-LABlab(63.27, 74.51, -50.78)
CIE-LCHlch(63.27, 90.16, 325.73°)
OKLaboklab(71.53% 0.2038 -0.1408)
OKLCHoklch(71.53% 0.248 325.4)
XYZxyz(54.8134, 31.9109, 89.6408)
Luminance0.3191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5BF5 #64F55B
analogous
#9F5BF5 #EC5BF5 #F55BB1
triadic
#EC5BF5 #F5EC5B #5BF5EC
tetradic
#EC5BF5 #F59F5B #64F55B #5BB1F5
square
#EC5BF5 #F59F5B #64F55B #5BB1F5
split-complementary
#EC5BF5 #B1F55B #5BF59F
monochromatic
#BE0CC9 #E521F1 #EC5BF5 #F395F9 #F9CEFC

Accessibility & contrast

On white

2.84
#EC5BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#EC5BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC5BF5
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5BF5#FFFFFF#000000##000000
##EC5BF51.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#408EFA
Deuteranopia (green-blind)
#799FF1
Tritanopia (blue-blind)
#F171A0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ec5bf5;
/* rgb */ color: rgb(236, 91, 245);
/* oklch */ color: oklch(71.5% 0.248 325.4);
Tailwind
colors: {
  custom: {
    50: '#f693f9',
    500: '#ec5bf5',
    950: '#000000',
  },
}
SCSS
$custom: #ec5bf5;
$custom-light: #f693f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5bf5",
  "rgb": {
    "r": 236,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 296.494,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.71525,
    "c": 0.24773,
    "h": 325.4
  },
  "luminance": 0.31908
}

Semantic roles & 50–950 ramp

primary
#EC5BF5
secondary
#BFEFBC
accent
#E5000E
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #EC5BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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