#EC6EF5#EC6EF5

#EC6EF5 is a light, highly saturated purple. Relative luminance 0.356; OKLCH L 73.7% C 0.222 H 324.9°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#EC6EF5
RGBrgb(236, 110, 245)
HSLhsl(296, 87%, 70%)
HSVhsv(296, 55%, 96%)
CMYKcmyk(3.7%, 55.1%, 0%, 3.9%)
CIE-LABlab(66.20, 66.48, -46.15)
CIE-LCHlch(66.20, 80.93, 325.23°)
OKLaboklab(73.66% 0.1815 -0.1275)
OKLCHoklch(73.66% 0.222 324.9)
XYZxyz(56.6481, 35.5804, 90.2524)
Luminance0.3558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6EF5 #77F56E
analogous
#A96EF5 #EC6EF5 #F56EBB
triadic
#EC6EF5 #F5EC6E #6EF5EC
tetradic
#EC6EF5 #F5A96E #77F56E #6EBBF5
square
#EC6EF5 #F5A96E #77F56E #6EBBF5
split-complementary
#EC6EF5 #BBF56E #6EF5A9
monochromatic
#CC0FDA #E435F1 #EC6EF5 #F4A7F9 #FBE1FD

Accessibility & contrast

On white

2.59
#EC6EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#EC6EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6EF5
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6EF5#FFFFFF#000000##000000
##EC6EF51.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B97F9
Deuteranopia (green-blind)
#85A6F1
Tritanopia (blue-blind)
#F180A8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec6ef5;
/* rgb */ color: rgb(236, 110, 245);
/* oklch */ color: oklch(73.7% 0.222 324.9);
Tailwind
colors: {
  custom: {
    50: '#f59df9',
    500: '#ec6ef5',
    950: '#000000',
  },
}
SCSS
$custom: #ec6ef5;
$custom-light: #f59df9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6ef5",
  "rgb": {
    "r": 236,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 296,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73657,
    "c": 0.22185,
    "h": 324.9
  },
  "luminance": 0.35577
}

Semantic roles & 50–950 ramp

primary
#EC6EF5
secondary
#CFF3CC
accent
#E40211
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC6EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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