#D470F2#D470F2

#D470F2 is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 70.9% C 0.204 H 317.9°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#D470F2
RGBrgb(212, 112, 242)
HSLhsl(286, 83%, 69%)
HSVhsv(286, 54%, 95%)
CMYKcmyk(12.4%, 53.7%, 0%, 5.1%)
CIE-LABlab(63.34, 58.85, -49.21)
CIE-LCHlch(63.34, 76.71, 320.10°)
OKLaboklab(70.87% 0.1516 -0.137)
OKLCHoklch(70.87% 0.204 317.9)
XYZxyz(48.9703, 31.9980, 87.5839)
Luminance0.3200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D470F2 #8EF270
analogous
#9370F2 #D470F2 #F270CF
triadic
#D470F2 #F2D470 #70F2D4
tetradic
#D470F2 #F29370 #8EF270 #70CFF2
square
#D470F2 #F29370 #8EF270 #70CFF2
split-complementary
#D470F2 #CFF270 #70F293
monochromatic
#A813D4 #C338ED #D470F2 #E5A8F7 #F6E0FC

Accessibility & contrast

On white

2.84
#D470F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#D470F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D470F2
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D470F2#FFFFFF#000000##000000
##D470F21.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5493F6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#D484A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d470f2;
/* rgb */ color: rgb(212, 112, 242);
/* oklch */ color: oklch(70.9% 0.204 317.9);
Tailwind
colors: {
  custom: {
    50: '#e49df7',
    500: '#d470f2',
    950: '#000000',
  },
}
SCSS
$custom: #d470f2;
$custom-light: #e49df7;
$custom-dark: #000000;
JSON
{
  "hex": "#d470f2",
  "rgb": {
    "r": 212,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 286.154,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70872,
    "c": 0.20428,
    "h": 317.9
  },
  "luminance": 0.31996
}

Semantic roles & 50–950 ramp

primary
#D470F2
secondary
#D5F2CC
accent
#E00638
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D470F2

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

Preview Lab → · Contrast checker → · Palette generator →

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