#EC6CE6#EC6CE6

#EC6CE6 is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 72.7% C 0.212 H 329.3°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#EC6CE6
RGBrgb(236, 108, 230)
HSLhsl(303, 77%, 67%)
HSVhsv(303, 54%, 93%)
CMYKcmyk(0%, 54.2%, 2.5%, 7.5%)
CIE-LABlab(65.18, 64.81, -39.45)
CIE-LCHlch(65.18, 75.87, 328.67°)
OKLaboklab(72.69% 0.1824 -0.1082)
OKLCHoklch(72.69% 0.212 329.3)
XYZxyz(54.2370, 34.2746, 78.6065)
Luminance0.3427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6CE6 #6CEC72
analogous
#B26CEC #EC6CE6 #EC6CA6
triadic
#EC6CE6 #E6EC6C #6CE6EC
tetradic
#EC6CE6 #ECB26C #6CEC72 #6CA6EC
square
#EC6CE6 #ECB26C #6CEC72 #6CA6EC
split-complementary
#EC6CE6 #A6EC6C #6CECB2
monochromatic
#C419BC #E536DD #EC6CE6 #F3A2EF #FAD8F8

Accessibility & contrast

On white

2.67
#EC6CE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#EC6CE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6CE6
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6CE6#FFFFFF#000000##000000
##EC6CE61.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6393EA
Deuteranopia (green-blind)
#8BA4E2
Tritanopia (blue-blind)
#F3799F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec6ce6;
/* rgb */ color: rgb(236, 108, 230);
/* oklch */ color: oklch(72.7% 0.212 329.3);
Tailwind
colors: {
  custom: {
    50: '#f59cee',
    500: '#ec6ce6',
    950: '#000000',
  },
}
SCSS
$custom: #ec6ce6;
$custom-light: #f59cee;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6ce6",
  "rgb": {
    "r": 236,
    "g": 108,
    "b": 230
  },
  "hsl": {
    "h": 302.813,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72687,
    "c": 0.21205,
    "h": 329.3
  },
  "luminance": 0.34271
}

Semantic roles & 50–950 ramp

primary
#EC6CE6
secondary
#C6EEC8
accent
#D9160C
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#170F16
muted
#857E84

Preview Lab

Preview with #EC6CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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