#EC6FDB#EC6FDB

#EC6FDB is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.6% C 0.199 H 332.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#EC6FDB
RGBrgb(236, 111, 219)
HSLhsl(308, 77%, 68%)
HSVhsv(308, 53%, 93%)
CMYKcmyk(0%, 53%, 7.2%, 7.5%)
CIE-LABlab(65.22, 61.64, -33.27)
CIE-LCHlch(65.22, 70.04, 331.64°)
OKLaboklab(72.56% 0.1768 -0.0906)
OKLCHoklch(72.56% 0.199 332.9)
XYZxyz(53.0626, 34.3198, 70.8337)
Luminance0.3432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6FDB #6FEC80
analogous
#BE6FEC #EC6FDB #EC6F9C
triadic
#EC6FDB #DBEC6F #6FDBEC
tetradic
#EC6FDB #ECBE6F #6FEC80 #6F9CEC
square
#EC6FDB #ECBE6F #6FEC80 #6F9CEC
split-complementary
#EC6FDB #9CEC6F #6FECBE
monochromatic
#C61AAF #E539CD #EC6FDB #F3A5E9 #FADBF6

Accessibility & contrast

On white

2.67
#EC6FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#EC6FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6FDB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6FDB#FFFFFF#000000##000000
##EC6FDB1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C93DF
Deuteranopia (green-blind)
#91A5D8
Tritanopia (blue-blind)
#F5789B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec6fdb;
/* rgb */ color: rgb(236, 111, 219);
/* oklch */ color: oklch(72.6% 0.199 332.9);
Tailwind
colors: {
  custom: {
    50: '#f59de6',
    500: '#ec6fdb',
    950: '#000000',
  },
}
SCSS
$custom: #ec6fdb;
$custom-light: #f59de6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6fdb",
  "rgb": {
    "r": 236,
    "g": 111,
    "b": 219
  },
  "hsl": {
    "h": 308.16,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72559,
    "c": 0.19863,
    "h": 332.9
  },
  "luminance": 0.34316
}

Semantic roles & 50–950 ramp

primary
#EC6FDB
secondary
#C8EFCD
accent
#D9280D
background
#FFFAFE
surface
#FFF3FC
border
#D7CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC6FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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