#975BD0#975BD0

#975BD0 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.177 H 305.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#975BD0
RGBrgb(151, 91, 208)
HSLhsl(271, 55%, 59%)
HSVhsv(271, 56%, 82%)
CMYKcmyk(27.4%, 56.2%, 0%, 18.4%)
CIE-LABlab(50.23, 46.75, -51.38)
CIE-LCHlch(50.23, 69.47, 312.30°)
OKLaboklab(59.08% 0.1025 -0.1449)
OKLCHoklch(59.08% 0.177 305.3)
XYZxyz(27.8863, 18.6157, 61.7864)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BD0 #94D05B
analogous
#5C5BD0 #975BD0 #D05BCE
triadic
#975BD0 #D0975B #5BD097
tetradic
#975BD0 #D05C5B #94D05B #5BCED0
square
#975BD0 #D05C5B #94D05B #5BCED0
split-complementary
#975BD0 #CED05B #5BD05C
monochromatic
#5A2789 #7935B9 #975BD0 #B58BDE #D3BAEB

Accessibility & contrast

On white

4.45
#975BD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#975BD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BD0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BD0#FFFFFF#000000##000000
##975BD01.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F76D4
Deuteranopia (green-blind)
#4578CD
Tritanopia (blue-blind)
#8D718D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975bd0;
/* rgb */ color: rgb(151, 91, 208);
/* oklch */ color: oklch(59.1% 0.177 305.3);
Tailwind
colors: {
  custom: {
    50: '#b98cdf',
    500: '#975bd0',
    950: '#000000',
  },
}
SCSS
$custom: #975bd0;
$custom-light: #b98cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#975bd0",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 208
  },
  "hsl": {
    "h": 270.769,
    "s": 55.45,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59076,
    "c": 0.17746,
    "h": 305.3
  },
  "luminance": 0.18616
}

Semantic roles & 50–950 ramp

primary
#975BD0
secondary
#C3DBAC
accent
#DF4992
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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