#D975EC#D975EC

#D975EC is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.8% C 0.193 H 321.0°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#D975EC
RGBrgb(217, 117, 236)
HSLhsl(290, 76%, 69%)
HSVhsv(290, 50%, 93%)
CMYKcmyk(8.1%, 50.4%, 0%, 7.5%)
CIE-LABlab(64.59, 56.57, -43.88)
CIE-LCHlch(64.59, 71.59, 322.20°)
OKLaboklab(71.83% 0.1502 -0.1214)
OKLCHoklch(71.83% 0.193 321)
XYZxyz(50.1151, 33.5325, 83.1732)
Luminance0.3353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D975EC #88EC75
analogous
#9E75EC #D975EC #EC75C4
triadic
#D975EC #ECD975 #75ECD9
tetradic
#D975EC #EC9E75 #88EC75 #75C4EC
square
#D975EC #EC9E75 #88EC75 #75C4EC
split-complementary
#D975EC #C4EC75 #75EC9E
monochromatic
#AF1CCB #CA3FE5 #D975EC #E8ABF3 #F7E1FB

Accessibility & contrast

On white

2.73
#D975EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#D975EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D975EC
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D975EC#FFFFFF#000000##000000
##D975EC1.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295F0
Deuteranopia (green-blind)
#80A0E9
Tritanopia (blue-blind)
#DB85A6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d975ec;
/* rgb */ color: rgb(217, 117, 236);
/* oklch */ color: oklch(71.8% 0.193 321.0);
Tailwind
colors: {
  custom: {
    50: '#e7a0f2',
    500: '#d975ec',
    950: '#000000',
  },
}
SCSS
$custom: #d975ec;
$custom-light: #e7a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d975ec",
  "rgb": {
    "r": 217,
    "g": 117,
    "b": 236
  },
  "hsl": {
    "h": 290.42,
    "s": 75.796,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71829,
    "c": 0.19313,
    "h": 321
  },
  "luminance": 0.3353
}

Semantic roles & 50–950 ramp

primary
#D975EC
secondary
#D3F0CD
accent
#D80E2E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D975EC

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

Preview Lab → · Contrast checker → · Palette generator →

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