#975BD5#975BD5

#975BD5 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.183 H 304.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#975BD5
RGBrgb(151, 91, 213)
HSLhsl(270, 59%, 60%)
HSVhsv(270, 57%, 84%)
CMYKcmyk(29.1%, 57.3%, 0%, 16.5%)
CIE-LABlab(50.53, 47.94, -53.76)
CIE-LCHlch(50.53, 72.03, 311.72°)
OKLaboklab(59.39% 0.1026 -0.1518)
OKLCHoklch(59.39% 0.183 304)
XYZxyz(28.5112, 18.8657, 65.0773)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BD5 #99D55B
analogous
#5B5CD5 #975BD5 #D45BD5
triadic
#975BD5 #D5975B #5BD597
tetradic
#975BD5 #D55B5C #99D55B #5BD5D4
square
#975BD5 #D55B5C #99D55B #5BD5D4
split-complementary
#975BD5 #D5D45B #5CD55B
monochromatic
#5A2591 #7832C1 #975BD5 #B68CE1 #D5BCEE

Accessibility & contrast

On white

4.40
#975BD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#975BD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BD5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BD5#FFFFFF#000000##000000
##975BD51.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2877D9
Deuteranopia (green-blind)
#4078D2
Tritanopia (blue-blind)
#8C738F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975bd5;
/* rgb */ color: rgb(151, 91, 213);
/* oklch */ color: oklch(59.4% 0.183 304.0);
Tailwind
colors: {
  custom: {
    50: '#b98ce2',
    500: '#975bd5',
    950: '#000000',
  },
}
SCSS
$custom: #975bd5;
$custom-light: #b98ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#975bd5",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 213
  },
  "hsl": {
    "h": 269.508,
    "s": 59.223,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59387,
    "c": 0.18324,
    "h": 304
  },
  "luminance": 0.18866
}

Semantic roles & 50–950 ramp

primary
#975BD5
secondary
#C6DEAE
accent
#E24595
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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