#D470EC#D470EC

#D470EC is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.6% C 0.198 H 319.6°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#D470EC
RGBrgb(212, 112, 236)
HSLhsl(288, 77%, 68%)
HSVhsv(288, 53%, 93%)
CMYKcmyk(10.2%, 52.5%, 0%, 7.5%)
CIE-LABlab(63.05, 57.68, -46.35)
CIE-LCHlch(63.05, 74.00, 321.22°)
OKLaboklab(70.56% 0.151 -0.1287)
OKLCHoklch(70.56% 0.198 319.6)
XYZxyz(48.0840, 31.6434, 82.9156)
Luminance0.3164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D470EC #88EC70
analogous
#9670EC #D470EC #EC70C6
triadic
#D470EC #ECD470 #70ECD4
tetradic
#D470EC #EC9670 #88EC70 #70C6EC
square
#D470EC #EC9670 #88EC70 #70C6EC
split-complementary
#D470EC #C6EC70 #70EC96
monochromatic
#A61AC7 #C43AE5 #D470EC #E4A6F3 #F4DCFA

Accessibility & contrast

On white

2.87
#D470EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#D470EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D470EC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D470EC#FFFFFF#000000##000000
##D470EC1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F0
Deuteranopia (green-blind)
#799CE9
Tritanopia (blue-blind)
#D582A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d470ec;
/* rgb */ color: rgb(212, 112, 236);
/* oklch */ color: oklch(70.6% 0.198 319.6);
Tailwind
colors: {
  custom: {
    50: '#e49df2',
    500: '#d470ec',
    950: '#000000',
  },
}
SCSS
$custom: #d470ec;
$custom-light: #e49df2;
$custom-dark: #000000;
JSON
{
  "hex": "#d470ec",
  "rgb": {
    "r": 212,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 288.387,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.7056,
    "c": 0.19841,
    "h": 319.6
  },
  "luminance": 0.31642
}

Semantic roles & 50–950 ramp

primary
#D470EC
secondary
#D0EFC9
accent
#D90D34
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D470EC

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

Preview Lab → · Contrast checker → · Palette generator →

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