#975BCC#975BCC

#975BCC is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.8% C 0.173 H 306.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#975BCC
RGBrgb(151, 91, 204)
HSLhsl(272, 53%, 58%)
HSVhsv(272, 55%, 80%)
CMYKcmyk(26%, 55.4%, 0%, 20%)
CIE-LABlab(50.00, 45.80, -49.46)
CIE-LCHlch(50.00, 67.41, 312.80°)
OKLaboklab(58.83% 0.1024 -0.1392)
OKLCHoklch(58.83% 0.173 306.3)
XYZxyz(27.4004, 18.4214, 59.2272)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BCC #90CC5B
analogous
#5E5BCC #975BCC #CC5BC9
triadic
#975BCC #CC975B #5BCC97
tetradic
#975BCC #CC5E5B #90CC5B #5BC9CC
square
#975BCC #CC5E5B #90CC5B #5BC9CC
split-complementary
#975BCC #C9CC5B #5BCC5E
monochromatic
#592984 #7937B2 #975BCC #B58ADB #D2B8E9

Accessibility & contrast

On white

4.48
#975BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#975BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BCC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BCC#FFFFFF#000000##000000
##975BCC1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3375D0
Deuteranopia (green-blind)
#4977C9
Tritanopia (blue-blind)
#8E708B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #975bcc;
/* rgb */ color: rgb(151, 91, 204);
/* oklch */ color: oklch(58.8% 0.173 306.3);
Tailwind
colors: {
  custom: {
    50: '#b98cdc',
    500: '#975bcc',
    950: '#000000',
  },
}
SCSS
$custom: #975bcc;
$custom-light: #b98cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#975bcc",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 204
  },
  "hsl": {
    "h": 271.858,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58831,
    "c": 0.17282,
    "h": 306.3
  },
  "luminance": 0.18421
}

Semantic roles & 50–950 ramp

primary
#975BCC
secondary
#C0D8AB
accent
#DC4C8F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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