#975DCB#975DCB

#975DCB is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.1% C 0.169 H 306.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#975DCB
RGBrgb(151, 93, 203)
HSLhsl(272, 51%, 58%)
HSVhsv(272, 54%, 80%)
CMYKcmyk(25.6%, 54.2%, 0%, 20.4%)
CIE-LABlab(50.36, 44.49, -48.32)
CIE-LCHlch(50.36, 65.69, 312.63°)
OKLaboklab(59.07% 0.0997 -0.1359)
OKLCHoklch(59.07% 0.169 306.3)
XYZxyz(27.4541, 18.7200, 58.6554)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DCB #91CB5D
analogous
#605DCB #975DCB #CB5DC8
triadic
#975DCB #CB975D #5DCB97
tetradic
#975DCB #CB605D #91CB5D #5DC8CB
square
#975DCB #CB605D #91CB5D #5DC8CB
split-complementary
#975DCB #C8CB5D #5DCB60
monochromatic
#592A83 #7939B2 #975DCB #B58BDA #D2BAE9

Accessibility & contrast

On white

4.43
#975DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#975DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DCB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DCB#FFFFFF#000000##000000
##975DCB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3876CF
Deuteranopia (green-blind)
#4C78C8
Tritanopia (blue-blind)
#8F718B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975dcb;
/* rgb */ color: rgb(151, 93, 203);
/* oklch */ color: oklch(59.1% 0.169 306.3);
Tailwind
colors: {
  custom: {
    50: '#b88ddb',
    500: '#975dcb',
    950: '#000000',
  },
}
SCSS
$custom: #975dcb;
$custom-light: #b88ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#975dcb",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 271.636,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59074,
    "c": 0.16856,
    "h": 306.3
  },
  "luminance": 0.1872
}

Semantic roles & 50–950 ramp

primary
#975DCB
secondary
#C1D8AC
accent
#DB4D90
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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