#EC46D7#EC46D7

#EC46D7 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 68.0% C 0.250 H 333.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#EC46D7
RGBrgb(236, 70, 215)
HSLhsl(308, 81%, 60%)
HSVhsv(308, 70%, 93%)
CMYKcmyk(0%, 70.3%, 8.9%, 7.5%)
CIE-LABlab(59.09, 77.39, -40.59)
CIE-LCHlch(59.09, 87.39, 332.32°)
OKLaboklab(68.03% 0.224 -0.1112)
OKLCHoklch(68.03% 0.25 333.6)
XYZxyz(49.0483, 27.1236, 66.9289)
Luminance0.2712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC46D7 #46EC5B
analogous
#AE46EC #EC46D7 #EC4684
triadic
#EC46D7 #D7EC46 #46D7EC
tetradic
#EC46D7 #ECAE46 #46EC5B #4684EC
square
#EC46D7 #ECAE46 #46EC5B #4684EC
split-complementary
#EC46D7 #84EC46 #46ECAE
monochromatic
#A71194 #DE17C5 #EC46D7 #F27DE3 #F7B5EF

Accessibility & contrast

On white

3.27
#EC46D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#EC46D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC46D7
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC46D7#FFFFFF#000000##000000
##EC46D71.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#417FDB
Deuteranopia (green-blind)
#7D97D3
Tritanopia (blue-blind)
#F7558A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec46d7;
/* rgb */ color: rgb(236, 70, 215);
/* oklch */ color: oklch(68.0% 0.250 333.6);
Tailwind
colors: {
  custom: {
    50: '#f688e4',
    500: '#ec46d7',
    950: '#000000',
  },
}
SCSS
$custom: #ec46d7;
$custom-light: #f688e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec46d7",
  "rgb": {
    "r": 236,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 307.59,
    "s": 81.373,
    "l": 60
  },
  "oklch": {
    "l": 0.68028,
    "c": 0.25004,
    "h": 333.6
  },
  "luminance": 0.27119
}

Semantic roles & 50–950 ramp

primary
#EC46D7
secondary
#A7E7AF
accent
#F84930
background
#FFF8FE
surface
#FFF0FC
border
#D7CBD5
text
#180D15
muted
#867D84

Preview Lab

Preview with #EC46D7

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

Preview Lab → · Contrast checker → · Palette generator →

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