#D975F0#D975F0

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

Color values

HEX#D975F0
RGBrgb(217, 117, 240)
HSLhsl(289, 80%, 70%)
HSVhsv(289, 51%, 94%)
CMYKcmyk(9.6%, 51.3%, 0%, 5.9%)
CIE-LABlab(64.78, 57.33, -45.79)
CIE-LCHlch(64.78, 73.37, 321.38°)
OKLaboklab(72.03% 0.1506 -0.127)
OKLCHoklch(72.03% 0.197 319.9)
XYZxyz(50.7028, 33.7676, 86.2682)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D975F0 #8CF075
analogous
#9B75F0 #D975F0 #F075CA
triadic
#D975F0 #F0D975 #75F0D9
tetradic
#D975F0 #F09B75 #8CF075 #75CAF0
square
#D975F0 #F09B75 #8CF075 #75CAF0
split-complementary
#D975F0 #CAF075 #75F09B
monochromatic
#B017D4 #CA3EEA #D975F0 #E8ACF6 #F7E3FC

Accessibility & contrast

On white

2.71
#D975F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#D975F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D975F0
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D975F0#FFFFFF#000000##000000
##D975F01.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F96F4
Deuteranopia (green-blind)
#7EA1ED
Tritanopia (blue-blind)
#DA86A8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d975f0;
/* rgb */ color: rgb(217, 117, 240);
/* oklch */ color: oklch(72.0% 0.197 319.9);
Tailwind
colors: {
  custom: {
    50: '#e7a0f5',
    500: '#d975f0',
    950: '#000000',
  },
}
SCSS
$custom: #d975f0;
$custom-light: #e7a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d975f0",
  "rgb": {
    "r": 217,
    "g": 117,
    "b": 240
  },
  "hsl": {
    "h": 288.78,
    "s": 80.392,
    "l": 70
  },
  "oklch": {
    "l": 0.72029,
    "c": 0.19701,
    "h": 319.9
  },
  "luminance": 0.33766
}

Semantic roles & 50–950 ramp

primary
#D975F0
secondary
#D6F2CF
accent
#DD0930
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D975F0

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

Preview Lab → · Contrast checker → · Palette generator →

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