#D975EF#D975EF

#D975EF is a light, vivid purple. Relative luminance 0.337; OKLCH L 72.0% C 0.196 H 320.2°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#D975EF
RGBrgb(217, 117, 239)
HSLhsl(289, 79%, 70%)
HSVhsv(289, 51%, 94%)
CMYKcmyk(9.2%, 51%, 0%, 6.3%)
CIE-LABlab(64.73, 57.14, -45.32)
CIE-LCHlch(64.73, 72.93, 321.58°)
OKLaboklab(71.98% 0.1505 -0.1256)
OKLCHoklch(71.98% 0.196 320.2)
XYZxyz(50.5546, 33.7083, 85.4880)
Luminance0.3371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D975EF #8BEF75
analogous
#9C75EF #D975EF #EF75C8
triadic
#D975EF #EFD975 #75EFD9
tetradic
#D975EF #EF9C75 #8BEF75 #75C8EF
square
#D975EF #EF9C75 #8BEF75 #75C8EF
split-complementary
#D975EF #C8EF75 #75EF9C
monochromatic
#B018D1 #CA3EE9 #D975EF #E8ACF5 #F7E3FC

Accessibility & contrast

On white

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

On black

7.74
#D975EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D975EF
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D975EF#FFFFFF#000000##000000
##D975EF1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#DA86A7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d975ef;
/* rgb */ color: rgb(217, 117, 239);
/* oklch */ color: oklch(72.0% 0.196 320.2);
Tailwind
colors: {
  custom: {
    50: '#e7a0f4',
    500: '#d975ef',
    950: '#000000',
  },
}
SCSS
$custom: #d975ef;
$custom-light: #e7a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d975ef",
  "rgb": {
    "r": 217,
    "g": 117,
    "b": 239
  },
  "hsl": {
    "h": 289.18,
    "s": 79.221,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71979,
    "c": 0.19603,
    "h": 320.2
  },
  "luminance": 0.33706
}

Semantic roles & 50–950 ramp

primary
#D975EF
secondary
#D5F1CF
accent
#DC0A30
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D975EF

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

Preview Lab → · Contrast checker → · Palette generator →

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