#EC6DFB#EC6DFB

#EC6DFB is a light, highly saturated purple. Relative luminance 0.357; OKLCH L 73.8% C 0.229 H 323.3°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#EC6DFB
RGBrgb(236, 109, 251)
HSLhsl(294, 95%, 71%)
HSVhsv(294, 57%, 98%)
CMYKcmyk(6%, 56.6%, 0%, 1.6%)
CIE-LABlab(66.32, 67.98, -49.26)
CIE-LCHlch(66.32, 83.95, 324.07°)
OKLaboklab(73.84% 0.1833 -0.1365)
OKLCHoklch(73.84% 0.229 323.3)
XYZxyz(57.4716, 35.7382, 95.1190)
Luminance0.3574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6DFB #7CFB6D
analogous
#A56DFB #EC6DFB #FB6DC3
triadic
#EC6DFB #FBEC6D #6DFBEC
tetradic
#EC6DFB #FBA56D #7CFB6D #6DC3FB
square
#EC6DFB #FBA56D #7CFB6D #6DC3FB
split-complementary
#EC6DFB #C3FB6D #6DFBA5
monochromatic
#D006E7 #E431F9 #EC6DFB #F4A9FD #FBE1FE

Accessibility & contrast

On white

2.58
#EC6DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#EC6DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6DFB
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6DFB#FFFFFF#000000##000000
##EC6DFB1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#81A6F7
Tritanopia (blue-blind)
#F081AA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec6dfb;
/* rgb */ color: rgb(236, 109, 251);
/* oklch */ color: oklch(73.8% 0.229 323.3);
Tailwind
colors: {
  custom: {
    50: '#f59dfd',
    500: '#ec6dfb',
    950: '#000000',
  },
}
SCSS
$custom: #ec6dfb;
$custom-light: #f59dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6dfb",
  "rgb": {
    "r": 236,
    "g": 109,
    "b": 251
  },
  "hsl": {
    "h": 293.662,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73839,
    "c": 0.22854,
    "h": 323.3
  },
  "luminance": 0.35735
}

Semantic roles & 50–950 ramp

primary
#EC6DFB
secondary
#D3F5CF
accent
#E60018
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#170F18
muted
#857F86

Preview Lab

Preview with #EC6DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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