#EC6FF2#EC6FF2

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

Color values

HEX#EC6FF2
RGBrgb(236, 111, 242)
HSLhsl(297, 83%, 69%)
HSVhsv(297, 54%, 95%)
CMYKcmyk(2.5%, 54.1%, 0%, 5.1%)
CIE-LABlab(66.23, 65.50, -44.46)
CIE-LCHlch(66.23, 79.16, 325.84°)
OKLaboklab(73.63% 0.18 -0.1226)
OKLCHoklch(73.63% 0.218 325.7)
XYZxyz(56.3023, 35.6157, 87.8961)
Luminance0.3561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6FF2 #75F26F
analogous
#AB6FF2 #EC6FF2 #F26FB7
triadic
#EC6FF2 #F2EC6F #6FF2EC
tetradic
#EC6FF2 #F2AB6F #75F26F #6FB7F2
square
#EC6FF2 #F2AB6F #75F26F #6FB7F2
split-complementary
#EC6FF2 #B7F26F #6FF2AB
monochromatic
#CB13D4 #E537ED #EC6FF2 #F3A7F7 #FBDFFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC6FF2#FFFFFF#000000##000000
##EC6FF21.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)
#5E97F6
Deuteranopia (green-blind)
#87A7EE
Tritanopia (blue-blind)
#F17FA6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec6ff2;
/* rgb */ color: rgb(236, 111, 242);
/* oklch */ color: oklch(73.6% 0.218 325.7);
Tailwind
colors: {
  custom: {
    50: '#f59ef7',
    500: '#ec6ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ec6ff2;
$custom-light: #f59ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6ff2",
  "rgb": {
    "r": 236,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 297.252,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73631,
    "c": 0.21779,
    "h": 325.7
  },
  "luminance": 0.35613
}

Semantic roles & 50–950 ramp

primary
#EC6FF2
secondary
#CDF1CB
accent
#E00610
background
#FFFAFF
surface
#FFF3FE
border
#D7CDD6
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC6FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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