#D975E4#D975E4

#D975E4 is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.4% C 0.185 H 323.5°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#D975E4
RGBrgb(217, 117, 228)
HSLhsl(294, 67%, 68%)
HSVhsv(294, 49%, 89%)
CMYKcmyk(4.8%, 48.7%, 0%, 10.6%)
CIE-LABlab(64.22, 55.07, -40.01)
CIE-LCHlch(64.22, 68.07, 324.00°)
OKLaboklab(71.44% 0.1491 -0.1103)
OKLCHoklch(71.44% 0.185 323.5)
XYZxyz(48.9788, 33.0780, 77.1885)
Luminance0.3308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D975E4 #80E475
analogous
#A175E4 #D975E4 #E475B8
triadic
#D975E4 #E4D975 #75E4D9
tetradic
#D975E4 #E4A175 #80E475 #75B8E4
square
#D975E4 #E4A175 #80E475 #75B8E4
split-complementary
#D975E4 #B8E475 #75E4A1
monochromatic
#AB24BA #CB42DA #D975E4 #E7A8EE #F5DBF8

Accessibility & contrast

On white

2.76
#D975E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#D975E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D975E4
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D975E4#FFFFFF#000000##000000
##D975E41.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6694E8
Deuteranopia (green-blind)
#84A0E1
Tritanopia (blue-blind)
#DC83A2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d975e4;
/* rgb */ color: rgb(217, 117, 228);
/* oklch */ color: oklch(71.4% 0.185 323.5);
Tailwind
colors: {
  custom: {
    50: '#e7a0ed',
    500: '#d975e4',
    950: '#000000',
  },
}
SCSS
$custom: #d975e4;
$custom-light: #e7a0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#d975e4",
  "rgb": {
    "r": 217,
    "g": 117,
    "b": 228
  },
  "hsl": {
    "h": 294.054,
    "s": 67.273,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71439,
    "c": 0.18547,
    "h": 323.5
  },
  "luminance": 0.33076
}

Semantic roles & 50–950 ramp

primary
#D975E4
secondary
#CDECC9
accent
#CF1629
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D975E4

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

Preview Lab → · Contrast checker → · Palette generator →

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