#975BC4#975BC4

#975BC4 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.4% C 0.164 H 308.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#975BC4
RGBrgb(151, 91, 196)
HSLhsl(274, 47%, 56%)
HSVhsv(274, 54%, 77%)
CMYKcmyk(23%, 53.6%, 0%, 23.1%)
CIE-LABlab(49.55, 43.94, -45.58)
CIE-LCHlch(49.55, 63.31, 313.95°)
OKLaboklab(58.36% 0.1019 -0.1279)
OKLCHoklch(58.36% 0.164 308.6)
XYZxyz(26.4654, 18.0474, 54.3031)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BC4 #88C45B
analogous
#635BC4 #975BC4 #C45BBD
triadic
#975BC4 #C4975B #5BC497
tetradic
#975BC4 #C4635B #88C45B #5BBDC4
square
#975BC4 #C4635B #88C45B #5BBDC4
split-complementary
#975BC4 #BDC45B #5BC463
monochromatic
#582C79 #783CA6 #975BC4 #B488D4 #D0B5E4

Accessibility & contrast

On white

4.56
#975BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#975BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BC4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BC4#FFFFFF#000000##000000
##975BC41.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B73C8
Deuteranopia (green-blind)
#4F77C1
Tritanopia (blue-blind)
#916E87
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #975bc4;
/* rgb */ color: rgb(151, 91, 196);
/* oklch */ color: oklch(58.4% 0.164 308.6);
Tailwind
colors: {
  custom: {
    50: '#b88bd6',
    500: '#975bc4',
    950: '#000000',
  },
}
SCSS
$custom: #975bc4;
$custom-light: #b88bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#975bc4",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 196
  },
  "hsl": {
    "h": 274.286,
    "s": 47.085,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58355,
    "c": 0.16354,
    "h": 308.6
  },
  "luminance": 0.18047
}

Semantic roles & 50–950 ramp

primary
#975BC4
secondary
#BAD3A8
accent
#D7518A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #975BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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