#975BD8#975BD8

#975BD8 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.6% C 0.187 H 303.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#975BD8
RGBrgb(151, 91, 216)
HSLhsl(269, 62%, 60%)
HSVhsv(269, 58%, 85%)
CMYKcmyk(30.1%, 57.9%, 0%, 15.3%)
CIE-LABlab(50.71, 48.66, -55.18)
CIE-LCHlch(50.71, 73.57, 311.41°)
OKLaboklab(59.58% 0.1026 -0.156)
OKLCHoklch(59.58% 0.187 303.3)
XYZxyz(28.8955, 19.0194, 67.1013)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BD8 #9CD85B
analogous
#5B5ED8 #975BD8 #D55BD8
triadic
#975BD8 #D8975B #5BD897
tetradic
#975BD8 #D85B5E #9CD85B #5BD8D5
square
#975BD8 #D85B5E #9CD85B #5BD8D5
split-complementary
#975BD8 #D8D55B #5ED85B
monochromatic
#5A2395 #782FC7 #975BD8 #B68CE4 #D6BEF0

Accessibility & contrast

On white

4.37
#975BD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#975BD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BD8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BD8#FFFFFF#000000##000000
##975BD81.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2377DC
Deuteranopia (green-blind)
#3D79D5
Tritanopia (blue-blind)
#8B7491
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #975bd8;
/* rgb */ color: rgb(151, 91, 216);
/* oklch */ color: oklch(59.6% 0.187 303.3);
Tailwind
colors: {
  custom: {
    50: '#b98ce5',
    500: '#975bd8',
    950: '#000000',
  },
}
SCSS
$custom: #975bd8;
$custom-light: #b98ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#975bd8",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 216
  },
  "hsl": {
    "h": 268.8,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59577,
    "c": 0.18671,
    "h": 303.3
  },
  "luminance": 0.19019
}

Semantic roles & 50–950 ramp

primary
#975BD8
secondary
#C8DFAF
accent
#C91C76
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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