#D975E2#D975E2

#D975E2 is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.3% C 0.184 H 324.2°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#D975E2
RGBrgb(217, 117, 226)
HSLhsl(295, 65%, 67%)
HSVhsv(295, 48%, 89%)
CMYKcmyk(4%, 48.2%, 0%, 11.4%)
CIE-LABlab(64.13, 54.70, -39.04)
CIE-LCHlch(64.13, 67.20, 324.48°)
OKLaboklab(71.34% 0.1488 -0.1075)
OKLCHoklch(71.34% 0.184 324.2)
XYZxyz(48.7028, 32.9676, 75.7348)
Luminance0.3296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D975E2 #7EE275
analogous
#A375E2 #D975E2 #E275B4
triadic
#D975E2 #E2D975 #75E2D9
tetradic
#D975E2 #E2A375 #7EE275 #75B4E2
square
#D975E2 #E2A375 #7EE275 #75B4E2
split-complementary
#D975E2 #B4E275 #75E2A3
monochromatic
#AA26B6 #CB42D7 #D975E2 #E7A8ED #F5DAF7

Accessibility & contrast

On white

2.77
#D975E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#D975E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D975E2
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D975E2#FFFFFF#000000##000000
##D975E21.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6894E6
Deuteranopia (green-blind)
#85A0DF
Tritanopia (blue-blind)
#DD82A1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d975e2;
/* rgb */ color: rgb(217, 117, 226);
/* oklch */ color: oklch(71.3% 0.184 324.2);
Tailwind
colors: {
  custom: {
    50: '#e7a0eb',
    500: '#d975e2',
    950: '#000000',
  },
}
SCSS
$custom: #d975e2;
$custom-light: #e7a0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d975e2",
  "rgb": {
    "r": 217,
    "g": 117,
    "b": 226
  },
  "hsl": {
    "h": 295.046,
    "s": 65.269,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71344,
    "c": 0.18358,
    "h": 324.2
  },
  "luminance": 0.32965
}

Semantic roles & 50–950 ramp

primary
#D975E2
secondary
#CBEBC8
accent
#CD1827
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D975E2

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

Preview Lab → · Contrast checker → · Palette generator →

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