#EC6EFB#EC6EFB

#EC6EFB is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 74.0% C 0.227 H 323.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#EC6EFB
RGBrgb(236, 110, 251)
HSLhsl(294, 95%, 71%)
HSVhsv(294, 56%, 98%)
CMYKcmyk(6%, 56.2%, 0%, 1.6%)
CIE-LABlab(66.48, 67.54, -49.00)
CIE-LCHlch(66.48, 83.44, 324.04°)
OKLaboklab(73.96% 0.1821 -0.1358)
OKLCHoklch(73.96% 0.227 323.3)
XYZxyz(57.5789, 35.9527, 95.1548)
Luminance0.3595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC6EFB #7DFB6E
analogous
#A56EFB #EC6EFB #FB6EC3
triadic
#EC6EFB #FBEC6E #6EFBEC
tetradic
#EC6EFB #FBA56E #7DFB6E #6EC3FB
square
#EC6EFB #FBA56E #7DFB6E #6EC3FB
split-complementary
#EC6EFB #C3FB6E #6EFBA5
monochromatic
#D006E8 #E432F9 #EC6EFB #F4AAFD #FBE1FE

Accessibility & contrast

On white

2.56
#EC6EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#EC6EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC6EFB
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC6EFB#FFFFFF#000000##000000
##EC6EFB1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FF
Deuteranopia (green-blind)
#82A7F7
Tritanopia (blue-blind)
#F082AB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec6efb;
/* rgb */ color: rgb(236, 110, 251);
/* oklch */ color: oklch(74.0% 0.227 323.3);
Tailwind
colors: {
  custom: {
    50: '#f59dfd',
    500: '#ec6efb',
    950: '#000000',
  },
}
SCSS
$custom: #ec6efb;
$custom-light: #f59dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec6efb",
  "rgb": {
    "r": 236,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 293.617,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73959,
    "c": 0.22712,
    "h": 323.3
  },
  "luminance": 0.3595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC6EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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