#D470EB#D470EB

#D470EB is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.5% C 0.197 H 319.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#D470EB
RGBrgb(212, 112, 235)
HSLhsl(289, 75%, 68%)
HSVhsv(289, 52%, 92%)
CMYKcmyk(9.8%, 52.3%, 0%, 7.8%)
CIE-LABlab(63.00, 57.49, -45.87)
CIE-LCHlch(63.00, 73.55, 321.42°)
OKLaboklab(70.51% 0.1509 -0.1273)
OKLCHoklch(70.51% 0.197 319.9)
XYZxyz(47.9391, 31.5855, 82.1526)
Luminance0.3158 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D470EB #87EB70
analogous
#9670EB #D470EB #EB70C5
triadic
#D470EB #EBD470 #70EBD4
tetradic
#D470EB #EB9670 #87EB70 #70C5EB
square
#D470EB #EB9670 #87EB70 #70C5EB
split-complementary
#D470EB #C5EB70 #70EB96
monochromatic
#A51CC5 #C43AE3 #D470EB #E4A6F3 #F4DBFA

Accessibility & contrast

On white

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

On black

7.32
#D470EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D470EB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D470EB#FFFFFF#000000##000000
##D470EB1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EF
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#D582A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d470eb;
/* rgb */ color: rgb(212, 112, 235);
/* oklch */ color: oklch(70.5% 0.197 319.9);
Tailwind
colors: {
  custom: {
    50: '#e49df2',
    500: '#d470eb',
    950: '#000000',
  },
}
SCSS
$custom: #d470eb;
$custom-light: #e49df2;
$custom-dark: #000000;
JSON
{
  "hex": "#d470eb",
  "rgb": {
    "r": 212,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 288.78,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70509,
    "c": 0.19743,
    "h": 319.9
  },
  "luminance": 0.31584
}

Semantic roles & 50–950 ramp

primary
#D470EB
secondary
#D0EEC9
accent
#D80E34
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D470EB

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

Preview Lab → · Contrast checker → · Palette generator →

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