#975BC2#975BC2

#975BC2 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.2% C 0.161 H 309.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#975BC2
RGBrgb(151, 91, 194)
HSLhsl(275, 46%, 56%)
HSVhsv(275, 53%, 76%)
CMYKcmyk(22.2%, 53.1%, 0%, 23.9%)
CIE-LABlab(49.44, 43.48, -44.60)
CIE-LCHlch(49.44, 62.29, 314.27°)
OKLaboklab(58.24% 0.1018 -0.125)
OKLCHoklch(58.24% 0.161 309.1)
XYZxyz(26.2393, 17.9569, 53.1122)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BC2 #86C25B
analogous
#635BC2 #975BC2 #C25BBA
triadic
#975BC2 #C2975B #5BC297
tetradic
#975BC2 #C2635B #86C25B #5BBAC2
square
#975BC2 #C2635B #86C25B #5BBAC2
split-complementary
#975BC2 #BAC25B #5BC263
monochromatic
#572C77 #783DA3 #975BC2 #B388D3 #D0B4E3

Accessibility & contrast

On white

4.57
#975BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#975BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BC2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BC2#FFFFFF#000000##000000
##975BC21.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D73C5
Deuteranopia (green-blind)
#5076BF
Tritanopia (blue-blind)
#916D86
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #975bc2;
/* rgb */ color: rgb(151, 91, 194);
/* oklch */ color: oklch(58.2% 0.161 309.1);
Tailwind
colors: {
  custom: {
    50: '#b88bd5',
    500: '#975bc2',
    950: '#000000',
  },
}
SCSS
$custom: #975bc2;
$custom-light: #b88bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#975bc2",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 274.951,
    "s": 45.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58238,
    "c": 0.16123,
    "h": 309.1
  },
  "luminance": 0.17957
}

Semantic roles & 50–950 ramp

primary
#975BC2
secondary
#B9D2A7
accent
#D55289
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #975BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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