#D970C8#D970C8

#D970C8 is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.5% C 0.169 H 333.6°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#D970C8
RGBrgb(217, 112, 200)
HSLhsl(310, 58%, 65%)
HSVhsv(310, 48%, 85%)
CMYKcmyk(0%, 48.4%, 7.8%, 14.9%)
CIE-LABlab(62.09, 52.61, -27.63)
CIE-LCHlch(62.09, 59.42, 332.29°)
OKLaboklab(69.47% 0.1511 -0.0749)
OKLCHoklch(69.47% 0.169 333.6)
XYZxyz(44.8347, 30.5130, 58.1605)
Luminance0.3051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D970C8 #70D981
analogous
#B570D9 #D970C8 #D97094
triadic
#D970C8 #C8D970 #70C8D9
tetradic
#D970C8 #D9B570 #70D981 #7094D9
square
#D970C8 #D9B570 #70D981 #7094D9
split-complementary
#D970C8 #94D970 #70D9B5
monochromatic
#A32B90 #CC40B5 #D970C8 #E6A0DB #F3D1ED

Accessibility & contrast

On white

2.96
#D970C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#D970C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D970C8
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D970C8#FFFFFF#000000##000000
##D970C81.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8CCB
Deuteranopia (green-blind)
#8C9CC5
Tritanopia (blue-blind)
#E17693
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d970c8;
/* rgb */ color: rgb(217, 112, 200);
/* oklch */ color: oklch(69.5% 0.169 333.6);
Tailwind
colors: {
  custom: {
    50: '#e79cd9',
    500: '#d970c8',
    950: '#000000',
  },
}
SCSS
$custom: #d970c8;
$custom-light: #e79cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#d970c8",
  "rgb": {
    "r": 217,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 309.714,
    "s": 58.011,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6947,
    "c": 0.16866,
    "h": 333.6
  },
  "luminance": 0.3051
}

Semantic roles & 50–950 ramp

primary
#D970C8
secondary
#C0E5C6
accent
#C63B20
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D970C8

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

Preview Lab → · Contrast checker → · Palette generator →

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