#EC6CF2#EC6CF2

#EC6CF2 is a light, highly saturated purple. Relative luminance 0.350; OKLCH L 73.3% C 0.222 H 325.8°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#EC6CF2
RGBrgb(236, 108, 242)
HSLhsl(297, 84%, 69%)
HSVhsv(297, 55%, 95%)
CMYKcmyk(2.5%, 55.4%, 0%, 5.1%)
CIE-LABlab(65.73, 66.85, -45.24)
CIE-LCHlch(65.73, 80.72, 325.91°)
OKLaboklab(73.27% 0.1837 -0.1249)
OKLCHoklch(73.27% 0.222 325.8)
XYZxyz(55.9805, 34.9720, 87.7888)
Luminance0.3497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6CF2 #72F26C
analogous
#A96CF2 #EC6CF2 #F26CB5
triadic
#EC6CF2 #F2EC6C #6CF2EC
tetradic
#EC6CF2 #F2A96C #72F26C #6CB5F2
square
#EC6CF2 #F2A96C #72F26C #6CB5F2
split-complementary
#EC6CF2 #B5F26C #6CF2A9
monochromatic
#C912D1 #E534ED #EC6CF2 #F3A4F7 #FBDCFC

Accessibility & contrast

On white

2.63
#EC6CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#EC6CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6CF2
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6CF2#FFFFFF#000000##000000
##EC6CF21.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B95F6
Deuteranopia (green-blind)
#85A5EE
Tritanopia (blue-blind)
#F17DA5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec6cf2;
/* rgb */ color: rgb(236, 108, 242);
/* oklch */ color: oklch(73.3% 0.222 325.8);
Tailwind
colors: {
  custom: {
    50: '#f59cf7',
    500: '#ec6cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ec6cf2;
$custom-light: #f59cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6cf2",
  "rgb": {
    "r": 236,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 297.313,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73266,
    "c": 0.22215,
    "h": 325.8
  },
  "luminance": 0.34969
}

Semantic roles & 50–950 ramp

primary
#EC6CF2
secondary
#CBF1C9
accent
#E0050F
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC6CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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