#D975ED#D975ED

#D975ED is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.9% C 0.194 H 320.7°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#D975ED
RGBrgb(217, 117, 237)
HSLhsl(290, 77%, 69%)
HSVhsv(290, 51%, 93%)
CMYKcmyk(8.4%, 50.6%, 0%, 7.1%)
CIE-LABlab(64.64, 56.76, -44.36)
CIE-LCHlch(64.64, 72.03, 321.99°)
OKLaboklab(71.88% 0.1503 -0.1228)
OKLCHoklch(71.88% 0.194 320.7)
XYZxyz(50.2608, 33.5908, 83.9405)
Luminance0.3359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D975ED #89ED75
analogous
#9D75ED #D975ED #ED75C5
triadic
#D975ED #EDD975 #75EDD9
tetradic
#D975ED #ED9D75 #89ED75 #75C5ED
square
#D975ED #ED9D75 #89ED75 #75C5ED
split-complementary
#D975ED #C5ED75 #75ED9D
monochromatic
#AF1BCD #CA3FE6 #D975ED #E8ABF4 #F7E1FB

Accessibility & contrast

On white

2.72
#D975ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#D975ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D975ED
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D975ED#FFFFFF#000000##000000
##D975ED1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F1
Deuteranopia (green-blind)
#80A1EA
Tritanopia (blue-blind)
#DB85A6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d975ed;
/* rgb */ color: rgb(217, 117, 237);
/* oklch */ color: oklch(71.9% 0.194 320.7);
Tailwind
colors: {
  custom: {
    50: '#e7a0f3',
    500: '#d975ed',
    950: '#000000',
  },
}
SCSS
$custom: #d975ed;
$custom-light: #e7a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d975ed",
  "rgb": {
    "r": 217,
    "g": 117,
    "b": 237
  },
  "hsl": {
    "h": 290,
    "s": 76.923,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71879,
    "c": 0.19409,
    "h": 320.7
  },
  "luminance": 0.33589
}

Semantic roles & 50–950 ramp

primary
#D975ED
secondary
#D3F0CE
accent
#D90C2E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D975ED

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

Preview Lab → · Contrast checker → · Palette generator →

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