#975BD6#975BD6

#975BD6 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.184 H 303.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#975BD6
RGBrgb(151, 91, 214)
HSLhsl(269, 60%, 60%)
HSVhsv(269, 57%, 84%)
CMYKcmyk(29.4%, 57.5%, 0%, 16.1%)
CIE-LABlab(50.59, 48.18, -54.24)
CIE-LCHlch(50.59, 72.54, 311.62°)
OKLaboklab(59.45% 0.1026 -0.1532)
OKLCHoklch(59.45% 0.184 303.8)
XYZxyz(28.6385, 18.9166, 65.7478)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BD6 #9AD65B
analogous
#5B5DD6 #975BD6 #D45BD6
triadic
#975BD6 #D6975B #5BD697
tetradic
#975BD6 #D65B5D #9AD65B #5BD6D4
square
#975BD6 #D65B5D #9AD65B #5BD6D4
split-complementary
#975BD6 #D6D45B #5DD65B
monochromatic
#5A2592 #7831C3 #975BD6 #B68CE2 #D5BDEE

Accessibility & contrast

On white

4.39
#975BD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#975BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BD6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BD6#FFFFFF#000000##000000
##975BD61.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2677DA
Deuteranopia (green-blind)
#3F78D3
Tritanopia (blue-blind)
#8C7390
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975bd6;
/* rgb */ color: rgb(151, 91, 214);
/* oklch */ color: oklch(59.5% 0.184 303.8);
Tailwind
colors: {
  custom: {
    50: '#b98ce3',
    500: '#975bd6',
    950: '#000000',
  },
}
SCSS
$custom: #975bd6;
$custom-light: #b98ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#975bd6",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 214
  },
  "hsl": {
    "h": 269.268,
    "s": 60,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5945,
    "c": 0.18439,
    "h": 303.8
  },
  "luminance": 0.18917
}

Semantic roles & 50–950 ramp

primary
#975BD6
secondary
#C7DEAF
accent
#E34596
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C15
muted
#817D84

Preview Lab

Preview with #975BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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