#975DCD#975DCD

#975DCD is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.2% C 0.171 H 305.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#975DCD
RGBrgb(151, 93, 205)
HSLhsl(271, 53%, 58%)
HSVhsv(271, 55%, 80%)
CMYKcmyk(26.3%, 54.6%, 0%, 19.6%)
CIE-LABlab(50.47, 44.96, -49.29)
CIE-LCHlch(50.47, 66.72, 312.37°)
OKLaboklab(59.19% 0.0998 -0.1387)
OKLCHoklch(59.19% 0.171 305.7)
XYZxyz(27.6940, 18.8160, 59.9187)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DCD #93CD5D
analogous
#5F5DCD #975DCD #CD5DCB
triadic
#975DCD #CD975D #5DCD97
tetradic
#975DCD #CD5F5D #93CD5D #5DCBCD
square
#975DCD #CD5F5D #93CD5D #5DCBCD
split-complementary
#975DCD #CBCD5D #5DCD5F
monochromatic
#592986 #7938B5 #975DCD #B58CDB #D3BBEA

Accessibility & contrast

On white

4.41
#975DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#975DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DCD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DCD#FFFFFF#000000##000000
##975DCD1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3676D1
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#8E728C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975dcd;
/* rgb */ color: rgb(151, 93, 205);
/* oklch */ color: oklch(59.2% 0.171 305.7);
Tailwind
colors: {
  custom: {
    50: '#b88ddd',
    500: '#975dcd',
    950: '#000000',
  },
}
SCSS
$custom: #975dcd;
$custom-light: #b88ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#975dcd",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 271.071,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59194,
    "c": 0.1709,
    "h": 305.7
  },
  "luminance": 0.18816
}

Semantic roles & 50–950 ramp

primary
#975DCD
secondary
#C2D9AD
accent
#DC4C91
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975DCD

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

Preview Lab → · Contrast checker → · Palette generator →

#975DCD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva