#975DCC#975DCC

#975DCC is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.1% C 0.170 H 306.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#975DCC
RGBrgb(151, 93, 204)
HSLhsl(271, 52%, 58%)
HSVhsv(271, 54%, 80%)
CMYKcmyk(26%, 54.4%, 0%, 20%)
CIE-LABlab(50.41, 44.73, -48.81)
CIE-LCHlch(50.41, 66.20, 312.50°)
OKLaboklab(59.13% 0.0998 -0.1373)
OKLCHoklch(59.13% 0.17 306)
XYZxyz(27.5736, 18.7679, 59.2850)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DCC #92CC5D
analogous
#5F5DCC #975DCC #CC5DCA
triadic
#975DCC #CC975D #5DCC97
tetradic
#975DCC #CC5F5D #92CC5D #5DCACC
square
#975DCC #CC5F5D #92CC5D #5DCACC
split-complementary
#975DCC #CACC5D #5DCC5F
monochromatic
#592A85 #7938B3 #975DCC #B58CDB #D3BAE9

Accessibility & contrast

On white

4.42
#975DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#975DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DCC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DCC#FFFFFF#000000##000000
##975DCC1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3776D0
Deuteranopia (green-blind)
#4B78C9
Tritanopia (blue-blind)
#8E728C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975dcc;
/* rgb */ color: rgb(151, 93, 204);
/* oklch */ color: oklch(59.1% 0.170 306.0);
Tailwind
colors: {
  custom: {
    50: '#b88ddc',
    500: '#975dcc',
    950: '#000000',
  },
}
SCSS
$custom: #975dcc;
$custom-light: #b88ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#975dcc",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 271.351,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59134,
    "c": 0.16973,
    "h": 306
  },
  "luminance": 0.18768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #975DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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