#EC6DFD#EC6DFD

#EC6DFD is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 73.9% C 0.230 H 322.8°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#EC6DFD
RGBrgb(236, 109, 253)
HSLhsl(293, 97%, 71%)
HSVhsv(293, 57%, 99%)
CMYKcmyk(6.7%, 56.9%, 0%, 0.8%)
CIE-LABlab(66.42, 68.34, -50.20)
CIE-LCHlch(66.42, 84.80, 323.70°)
OKLaboklab(73.94% 0.1834 -0.1393)
OKLCHoklch(73.94% 0.23 322.8)
XYZxyz(57.7886, 35.8649, 96.7882)
Luminance0.3586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6DFD #7EFD6D
analogous
#A46DFD #EC6DFD #FD6DC6
triadic
#EC6DFD #FDEC6D #6DFDEC
tetradic
#EC6DFD #FDA46D #7EFD6D #6DC6FD
square
#EC6DFD #FDA46D #7EFD6D #6DC6FD
split-complementary
#EC6DFD #C6FD6D #6DFDA4
monochromatic
#D103EC #E431FC #EC6DFD #F4A9FE #FBE1FF

Accessibility & contrast

On white

2.57
#EC6DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#EC6DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6DFD
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6DFD#FFFFFF#000000##000000
##EC6DFD1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#80A7F9
Tritanopia (blue-blind)
#EF82AB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec6dfd;
/* rgb */ color: rgb(236, 109, 253);
/* oklch */ color: oklch(73.9% 0.230 322.8);
Tailwind
colors: {
  custom: {
    50: '#f59dfe',
    500: '#ec6dfd',
    950: '#000000',
  },
}
SCSS
$custom: #ec6dfd;
$custom-light: #f59dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6dfd",
  "rgb": {
    "r": 236,
    "g": 109,
    "b": 253
  },
  "hsl": {
    "h": 292.917,
    "s": 97.297,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73941,
    "c": 0.2303,
    "h": 322.8
  },
  "luminance": 0.35862
}

Semantic roles & 50–950 ramp

primary
#EC6DFD
secondary
#D4F6D0
accent
#E6001B
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#170F18
muted
#857F86

Preview Lab

Preview with #EC6DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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