#975BC5#975BC5

#975BC5 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.165 H 308.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#975BC5
RGBrgb(151, 91, 197)
HSLhsl(274, 48%, 56%)
HSVhsv(274, 54%, 77%)
CMYKcmyk(23.4%, 53.8%, 0%, 22.7%)
CIE-LABlab(49.61, 44.17, -46.07)
CIE-LCHlch(49.61, 63.83, 313.80°)
OKLaboklab(58.41% 0.102 -0.1293)
OKLCHoklch(58.41% 0.165 308.3)
XYZxyz(26.5796, 18.0931, 54.9046)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BC5 #89C55B
analogous
#625BC5 #975BC5 #C55BBE
triadic
#975BC5 #C5975B #5BC597
tetradic
#975BC5 #C5625B #89C55B #5BBEC5
square
#975BC5 #C5625B #89C55B #5BBEC5
split-complementary
#975BC5 #BEC55B #5BC562
monochromatic
#582B7A #793BA8 #975BC5 #B488D5 #D0B5E5

Accessibility & contrast

On white

4.55
#975BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#975BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BC5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BC5#FFFFFF#000000##000000
##975BC51.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A74C9
Deuteranopia (green-blind)
#4E77C2
Tritanopia (blue-blind)
#906E87
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #975bc5;
/* rgb */ color: rgb(151, 91, 197);
/* oklch */ color: oklch(58.4% 0.165 308.3);
Tailwind
colors: {
  custom: {
    50: '#b88bd7',
    500: '#975bc5',
    950: '#000000',
  },
}
SCSS
$custom: #975bc5;
$custom-light: #b88bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#975bc5",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 197
  },
  "hsl": {
    "h": 273.962,
    "s": 47.748,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58413,
    "c": 0.1647,
    "h": 308.3
  },
  "luminance": 0.18093
}

Semantic roles & 50–950 ramp

primary
#975BC5
secondary
#BBD4A8
accent
#D7508B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #975BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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