#975BD2#975BD2

#975BD2 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.2% C 0.180 H 304.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#975BD2
RGBrgb(151, 91, 210)
HSLhsl(270, 57%, 59%)
HSVhsv(270, 57%, 82%)
CMYKcmyk(28.1%, 56.7%, 0%, 17.6%)
CIE-LABlab(50.35, 47.22, -52.34)
CIE-LCHlch(50.35, 70.49, 312.06°)
OKLaboklab(59.2% 0.1025 -0.1476)
OKLCHoklch(59.2% 0.18 304.8)
XYZxyz(28.1339, 18.7148, 63.0904)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BD2 #96D25B
analogous
#5C5BD2 #975BD2 #D25BD2
triadic
#975BD2 #D2975B #5BD297
tetradic
#975BD2 #D25C5B #96D25B #5BD2D2
square
#975BD2 #D25C5B #96D25B #5BD2D2
split-complementary
#975BD2 #D2D25B #5BD25C
monochromatic
#5A268C #7834BC #975BD2 #B58BDF #D4BBEC

Accessibility & contrast

On white

4.43
#975BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#975BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BD2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BD2#FFFFFF#000000##000000
##975BD21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C76D6
Deuteranopia (green-blind)
#4378CF
Tritanopia (blue-blind)
#8D728E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975bd2;
/* rgb */ color: rgb(151, 91, 210);
/* oklch */ color: oklch(59.2% 0.180 304.8);
Tailwind
colors: {
  custom: {
    50: '#b98ce0',
    500: '#975bd2',
    950: '#000000',
  },
}
SCSS
$custom: #975bd2;
$custom-light: #b98ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#975bd2",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 270.252,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.592,
    "c": 0.17976,
    "h": 304.8
  },
  "luminance": 0.18715
}

Semantic roles & 50–950 ramp

primary
#975BD2
secondary
#C4DCAD
accent
#E04893
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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