#975CCC#975CCC

#975CCC is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.0% C 0.171 H 306.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#975CCC
RGBrgb(151, 92, 204)
HSLhsl(272, 52%, 58%)
HSVhsv(272, 55%, 80%)
CMYKcmyk(26%, 54.9%, 0%, 20%)
CIE-LABlab(50.21, 45.27, -49.14)
CIE-LCHlch(50.21, 66.81, 312.65°)
OKLaboklab(58.98% 0.1011 -0.1383)
OKLCHoklch(58.98% 0.171 306.2)
XYZxyz(27.4864, 18.5935, 59.2559)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CCC #91CC5C
analogous
#5F5CCC #975CCC #CC5CC9
triadic
#975CCC #CC975C #5CCC97
tetradic
#975CCC #CC5F5C #91CC5C #5CC9CC
square
#975CCC #CC5F5C #91CC5C #5CC9CC
split-complementary
#975CCC #C9CC5C #5CCC5F
monochromatic
#592984 #7938B3 #975CCC #B58BDB #D2B9E9

Accessibility & contrast

On white

4.45
#975CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#975CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975CCC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CCC#FFFFFF#000000##000000
##975CCC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3575D0
Deuteranopia (green-blind)
#4A78C9
Tritanopia (blue-blind)
#8E718B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #975ccc;
/* rgb */ color: rgb(151, 92, 204);
/* oklch */ color: oklch(59.0% 0.171 306.2);
Tailwind
colors: {
  custom: {
    50: '#b88cdc',
    500: '#975ccc',
    950: '#000000',
  },
}
SCSS
$custom: #975ccc;
$custom-light: #b88cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#975ccc",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 204
  },
  "hsl": {
    "h": 271.607,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58982,
    "c": 0.17127,
    "h": 306.2
  },
  "luminance": 0.18593
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #975CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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