#975AB7#975AB7

#975AB7 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.5% C 0.150 H 312.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#975AB7
RGBrgb(151, 90, 183)
HSLhsl(279, 39%, 54%)
HSVhsv(279, 51%, 72%)
CMYKcmyk(17.5%, 50.8%, 0%, 28.2%)
CIE-LABlab(48.65, 41.54, -39.49)
CIE-LCHlch(48.65, 57.32, 316.45°)
OKLaboklab(57.46% 0.1022 -0.1101)
OKLCHoklch(57.46% 0.15 312.8)
XYZxyz(24.9644, 17.3111, 46.8169)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975AB7 #7AB75A
analogous
#685AB7 #975AB7 #B75AA8
triadic
#975AB7 #B7975A #5AB797
tetradic
#975AB7 #B7685A #7AB75A #5AA8B7
square
#975AB7 #B7685A #7AB75A #5AA8B7
split-complementary
#975AB7 #A8B75A #5AB768
monochromatic
#552E69 #774093 #975AB7 #B285CA #CDAFDC

Accessibility & contrast

On white

4.71
#975AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#975AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975AB7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975AB7#FFFFFF#000000##FFFFFF
##975AB71.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4470BA
Deuteranopia (green-blind)
#5675B5
Tritanopia (blue-blind)
#946980
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #975ab7;
/* rgb */ color: rgb(151, 90, 183);
/* oklch */ color: oklch(57.5% 0.150 312.8);
Tailwind
colors: {
  custom: {
    50: '#b88bcd',
    500: '#975ab7',
    950: '#000000',
  },
}
SCSS
$custom: #975ab7;
$custom-light: #b88bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#975ab7",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 183
  },
  "hsl": {
    "h": 279.355,
    "s": 39.241,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57461,
    "c": 0.15021,
    "h": 312.8
  },
  "luminance": 0.17311
}

Semantic roles & 50–950 ramp

primary
#975AB7
secondary
#B0CAA2
accent
#CF5981
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #975AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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