#975BCB#975BCB

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

Color values

HEX#975BCB
RGBrgb(151, 91, 203)
HSLhsl(272, 52%, 58%)
HSVhsv(272, 55%, 80%)
CMYKcmyk(25.6%, 55.2%, 0%, 20.4%)
CIE-LABlab(49.95, 45.57, -48.98)
CIE-LCHlch(49.95, 66.90, 312.93°)
OKLaboklab(58.77% 0.1023 -0.1378)
OKLCHoklch(58.77% 0.172 306.6)
XYZxyz(27.2808, 18.3735, 58.5976)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BCB #8FCB5B
analogous
#5F5BCB #975BCB #CB5BC7
triadic
#975BCB #CB975B #5BCB97
tetradic
#975BCB #CB5F5B #8FCB5B #5BC7CB
square
#975BCB #CB5F5B #8FCB5B #5BC7CB
split-complementary
#975BCB #C7CB5B #5BCB5F
monochromatic
#592982 #7938B1 #975BCB #B489DA #D2B8E8

Accessibility & contrast

On white

4.49
#975BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#975BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BCB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BCB#FFFFFF#000000##000000
##975BCB1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3475CF
Deuteranopia (green-blind)
#4A77C8
Tritanopia (blue-blind)
#8F708A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #975bcb;
/* rgb */ color: rgb(151, 91, 203);
/* oklch */ color: oklch(58.8% 0.172 306.6);
Tailwind
colors: {
  custom: {
    50: '#b88cdb',
    500: '#975bcb',
    950: '#000000',
  },
}
SCSS
$custom: #975bcb;
$custom-light: #b88cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#975bcb",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 272.143,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58771,
    "c": 0.17165,
    "h": 306.6
  },
  "luminance": 0.18373
}

Semantic roles & 50–950 ramp

primary
#975BCB
secondary
#BFD7AA
accent
#DB4C8F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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