#975BBA#975BBA

#975BBA is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.8% C 0.152 H 311.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#975BBA
RGBrgb(151, 91, 186)
HSLhsl(278, 41%, 54%)
HSVhsv(278, 51%, 73%)
CMYKcmyk(18.8%, 51.1%, 0%, 27.1%)
CIE-LABlab(49.02, 41.67, -40.65)
CIE-LCHlch(49.02, 58.21, 315.71°)
OKLaboklab(57.78% 0.1011 -0.1135)
OKLCHoklch(57.78% 0.152 311.7)
XYZxyz(25.3649, 17.6072, 48.5072)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BBA #7EBA5B
analogous
#685BBA #975BBA #BA5BAE
triadic
#975BBA #BA975B #5BBA97
tetradic
#975BBA #BA685B #7EBA5B #5BAEBA
square
#975BBA #BA685B #7EBA5B #5BAEBA
split-complementary
#975BBA #AEBA5B #5BBA68
monochromatic
#562E6D #774098 #975BBA #B286CC #CEB1DE

Accessibility & contrast

On white

4.64
#975BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#975BBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #975BBA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BBA#FFFFFF#000000##FFFFFF
##975BBA1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4371BD
Deuteranopia (green-blind)
#5576B8
Tritanopia (blue-blind)
#936B82
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #975bba;
/* rgb */ color: rgb(151, 91, 186);
/* oklch */ color: oklch(57.8% 0.152 311.7);
Tailwind
colors: {
  custom: {
    50: '#b88bcf',
    500: '#975bba',
    950: '#000000',
  },
}
SCSS
$custom: #975bba;
$custom-light: #b88bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#975bba",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 186
  },
  "hsl": {
    "h": 277.895,
    "s": 40.773,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57783,
    "c": 0.15199,
    "h": 311.7
  },
  "luminance": 0.17607
}

Semantic roles & 50–950 ramp

primary
#975BBA
secondary
#B3CDA4
accent
#D15784
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #975BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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