#975AC2#975AC2

#975AC2 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.1% C 0.163 H 309.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#975AC2
RGBrgb(151, 90, 194)
HSLhsl(275, 46%, 56%)
HSVhsv(275, 54%, 76%)
CMYKcmyk(22.2%, 53.6%, 0%, 23.9%)
CIE-LABlab(49.24, 44.02, -44.93)
CIE-LCHlch(49.24, 62.90, 314.41°)
OKLaboklab(58.09% 0.1031 -0.126)
OKLCHoklch(58.09% 0.163 309.3)
XYZxyz(26.1544, 17.7871, 53.0839)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975AC2 #85C25A
analogous
#635AC2 #975AC2 #C25AB9
triadic
#975AC2 #C2975A #5AC297
tetradic
#975AC2 #C2635A #85C25A #5AB9C2
square
#975AC2 #C2635A #85C25A #5AB9C2
split-complementary
#975AC2 #B9C25A #5AC263
monochromatic
#572C76 #783CA3 #975AC2 #B387D3 #CFB3E3

Accessibility & contrast

On white

4.61
#975AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#975AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #975AC2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975AC2#FFFFFF#000000##FFFFFF
##975AC21.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B72C5
Deuteranopia (green-blind)
#4F76BF
Tritanopia (blue-blind)
#916C85
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #975ac2;
/* rgb */ color: rgb(151, 90, 194);
/* oklch */ color: oklch(58.1% 0.163 309.3);
Tailwind
colors: {
  custom: {
    50: '#b88bd5',
    500: '#975ac2',
    950: '#000000',
  },
}
SCSS
$custom: #975ac2;
$custom-light: #b88bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#975ac2",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 194
  },
  "hsl": {
    "h": 275.192,
    "s": 46.018,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58085,
    "c": 0.16282,
    "h": 309.3
  },
  "luminance": 0.17787
}

Semantic roles & 50–950 ramp

primary
#975AC2
secondary
#B8D2A6
accent
#D65289
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #975AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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