#975BC8#975BC8

#975BC8 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.168 H 307.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#975BC8
RGBrgb(151, 91, 200)
HSLhsl(273, 50%, 57%)
HSVhsv(273, 55%, 78%)
CMYKcmyk(24.5%, 54.5%, 0%, 21.6%)
CIE-LABlab(49.78, 44.87, -47.53)
CIE-LCHlch(49.78, 65.36, 313.35°)
OKLaboklab(58.59% 0.1022 -0.1336)
OKLCHoklch(58.59% 0.168 307.4)
XYZxyz(26.9268, 18.2319, 56.7330)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BC8 #8CC85B
analogous
#615BC8 #975BC8 #C85BC2
triadic
#975BC8 #C8975B #5BC897
tetradic
#975BC8 #C8615B #8CC85B #5BC2C8
square
#975BC8 #C8615B #8CC85B #5BC2C8
split-complementary
#975BC8 #C2C85B #5BC861
monochromatic
#592A7E #793AAC #975BC8 #B489D7 #D1B7E7

Accessibility & contrast

On white

4.52
#975BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#975BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BC8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BC8#FFFFFF#000000##000000
##975BC81.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3874CC
Deuteranopia (green-blind)
#4C77C5
Tritanopia (blue-blind)
#906F89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #975bc8;
/* rgb */ color: rgb(151, 91, 200);
/* oklch */ color: oklch(58.6% 0.168 307.4);
Tailwind
colors: {
  custom: {
    50: '#b88bd9',
    500: '#975bc8',
    950: '#000000',
  },
}
SCSS
$custom: #975bc8;
$custom-light: #b88bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#975bc8",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 200
  },
  "hsl": {
    "h": 273.028,
    "s": 49.772,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58591,
    "c": 0.16818,
    "h": 307.4
  },
  "luminance": 0.18232
}

Semantic roles & 50–950 ramp

primary
#975BC8
secondary
#BDD6A9
accent
#D94F8D
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C15
muted
#817D83

Preview Lab

Preview with #975BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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