#EC6CF7#EC6CF7

#EC6CF7 is a light, highly saturated purple. Relative luminance 0.353; OKLCH L 73.5% C 0.226 H 324.4°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#EC6CF7
RGBrgb(236, 108, 247)
HSLhsl(295, 90%, 70%)
HSVhsv(295, 56%, 97%)
CMYKcmyk(4.5%, 56.3%, 0%, 3.1%)
CIE-LABlab(65.96, 67.72, -47.62)
CIE-LCHlch(65.96, 82.79, 324.88°)
OKLaboklab(73.52% 0.1842 -0.1318)
OKLCHoklch(73.52% 0.226 324.4)
XYZxyz(56.7417, 35.2765, 91.7979)
Luminance0.3527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6CF7 #77F76C
analogous
#A76CF7 #EC6CF7 #F76CBC
triadic
#EC6CF7 #F7EC6C #6CF7EC
tetradic
#EC6CF7 #F7A76C #77F76C #6CBCF7
square
#EC6CF7 #F7A76C #77F76C #6CBCF7
split-complementary
#EC6CF7 #BCF76C #6CF7A7
monochromatic
#CC0CDD #E432F4 #EC6CF7 #F4A6FA #FBE0FD

Accessibility & contrast

On white

2.61
#EC6CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#EC6CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6CF7
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6CF7#FFFFFF#000000##000000
##EC6CF71.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#83A6F3
Tritanopia (blue-blind)
#F07FA8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec6cf7;
/* rgb */ color: rgb(236, 108, 247);
/* oklch */ color: oklch(73.5% 0.226 324.4);
Tailwind
colors: {
  custom: {
    50: '#f59cfa',
    500: '#ec6cf7',
    950: '#000000',
  },
}
SCSS
$custom: #ec6cf7;
$custom-light: #f59cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6cf7",
  "rgb": {
    "r": 236,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 295.252,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73516,
    "c": 0.22646,
    "h": 324.4
  },
  "luminance": 0.35273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC6CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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