#975CC2#975CC2

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

Color values

HEX#975CC2
RGBrgb(151, 92, 194)
HSLhsl(275, 46%, 56%)
HSVhsv(275, 53%, 76%)
CMYKcmyk(22.2%, 52.6%, 0%, 23.9%)
CIE-LABlab(49.65, 42.94, -44.27)
CIE-LCHlch(49.65, 61.68, 314.12°)
OKLaboklab(58.39% 0.1004 -0.1241)
OKLCHoklch(58.39% 0.16 309)
XYZxyz(26.3254, 18.1290, 53.1409)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CC2 #87C25C
analogous
#645CC2 #975CC2 #C25CBA
triadic
#975CC2 #C2975C #5CC297
tetradic
#975CC2 #C2645C #87C25C #5CBAC2
square
#975CC2 #C2645C #87C25C #5CBAC2
split-complementary
#975CC2 #BAC25C #5CC264
monochromatic
#582D77 #783DA4 #975CC2 #B389D3 #D0B5E3

Accessibility & contrast

On white

4.54
#975CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#975CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975CC2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CC2#FFFFFF#000000##000000
##975CC21.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F74C5
Deuteranopia (green-blind)
#5177BF
Tritanopia (blue-blind)
#916E86
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #975cc2;
/* rgb */ color: rgb(151, 92, 194);
/* oklch */ color: oklch(58.4% 0.160 309.0);
Tailwind
colors: {
  custom: {
    50: '#b88cd5',
    500: '#975cc2',
    950: '#000000',
  },
}
SCSS
$custom: #975cc2;
$custom-light: #b88cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#975cc2",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 274.706,
    "s": 45.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58392,
    "c": 0.15962,
    "h": 309
  },
  "luminance": 0.18129
}

Semantic roles & 50–950 ramp

primary
#975CC2
secondary
#BAD2A8
accent
#D5538A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #975CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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