#975BD1#975BD1

#975BD1 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.1% C 0.179 H 305.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#975BD1
RGBrgb(151, 91, 209)
HSLhsl(271, 56%, 59%)
HSVhsv(271, 56%, 82%)
CMYKcmyk(27.8%, 56.5%, 0%, 18%)
CIE-LABlab(50.29, 46.99, -51.86)
CIE-LCHlch(50.29, 69.98, 312.18°)
OKLaboklab(59.14% 0.1025 -0.1463)
OKLCHoklch(59.14% 0.179 305)
XYZxyz(28.0097, 18.6651, 62.4364)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BD1 #95D15B
analogous
#5C5BD1 #975BD1 #D15BD0
triadic
#975BD1 #D1975B #5BD197
tetradic
#975BD1 #D15C5B #95D15B #5BD0D1
square
#975BD1 #D15C5B #95D15B #5BD0D1
split-complementary
#975BD1 #D0D15B #5BD15C
monochromatic
#5A278B #7934BA #975BD1 #B58BDE #D4BBEC

Accessibility & contrast

On white

4.44
#975BD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#975BD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BD1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BD1#FFFFFF#000000##000000
##975BD11.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D76D5
Deuteranopia (green-blind)
#4478CE
Tritanopia (blue-blind)
#8D728D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975bd1;
/* rgb */ color: rgb(151, 91, 209);
/* oklch */ color: oklch(59.1% 0.179 305.0);
Tailwind
colors: {
  custom: {
    50: '#b98ce0',
    500: '#975bd1',
    950: '#000000',
  },
}
SCSS
$custom: #975bd1;
$custom-light: #b98ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#975bd1",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 209
  },
  "hsl": {
    "h": 270.508,
    "s": 56.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59137,
    "c": 0.17861,
    "h": 305
  },
  "luminance": 0.18665
}

Semantic roles & 50–950 ramp

primary
#975BD1
secondary
#C4DBAD
accent
#DF4893
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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