#EC6AFD#EC6AFD

#EC6AFD is a light, highly saturated purple. Relative luminance 0.352; OKLCH L 73.6% C 0.234 H 322.9°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#EC6AFD
RGBrgb(236, 106, 253)
HSLhsl(293, 97%, 70%)
HSVhsv(293, 58%, 99%)
CMYKcmyk(6.7%, 58.1%, 0%, 0.8%)
CIE-LABlab(65.93, 69.66, -50.97)
CIE-LCHlch(65.93, 86.31, 323.81°)
OKLaboklab(73.59% 0.187 -0.1415)
OKLCHoklch(73.59% 0.235 322.9)
XYZxyz(57.4740, 35.2358, 96.6833)
Luminance0.3523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6AFD #7BFD6A
analogous
#A26AFD #EC6AFD #FD6AC5
triadic
#EC6AFD #FDEC6A #6AFDEC
tetradic
#EC6AFD #FDA26A #7BFD6A #6AC5FD
square
#EC6AFD #FDA26A #7BFD6A #6AC5FD
split-complementary
#EC6AFD #C5FD6A #6AFDA2
monochromatic
#CF03E9 #E42EFC #EC6AFD #F4A6FE #FBE1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC6AFD#FFFFFF#000000##000000
##EC6AFD1.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)
#4F96FF
Deuteranopia (green-blind)
#7EA5F9
Tritanopia (blue-blind)
#EF7FAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec6afd;
/* rgb */ color: rgb(236, 106, 253);
/* oklch */ color: oklch(73.6% 0.234 322.9);
Tailwind
colors: {
  custom: {
    50: '#f59bfe',
    500: '#ec6afd',
    950: '#000000',
  },
}
SCSS
$custom: #ec6afd;
$custom-light: #f59bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6afd",
  "rgb": {
    "r": 236,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 293.061,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73588,
    "c": 0.2345,
    "h": 322.9
  },
  "luminance": 0.35233
}

Semantic roles & 50–950 ramp

primary
#EC6AFD
secondary
#D2F6CD
accent
#E6001B
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#170F18
muted
#857E86

Preview Lab

Preview with #EC6AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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