#975BD9#975BD9

#975BD9 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.6% C 0.188 H 303.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#975BD9
RGBrgb(151, 91, 217)
HSLhsl(269, 62%, 60%)
HSVhsv(269, 58%, 85%)
CMYKcmyk(30.4%, 58.1%, 0%, 14.9%)
CIE-LABlab(50.77, 48.90, -55.65)
CIE-LCHlch(50.77, 74.08, 311.31°)
OKLaboklab(59.64% 0.1026 -0.1574)
OKLCHoklch(59.64% 0.188 303.1)
XYZxyz(29.0251, 19.0713, 67.7842)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BD9 #9DD95B
analogous
#5B5ED9 #975BD9 #D65BD9
triadic
#975BD9 #D9975B #5BD997
tetradic
#975BD9 #D95B5E #9DD95B #5BD9D6
square
#975BD9 #D95B5E #9DD95B #5BD9D6
split-complementary
#975BD9 #D9D65B #5ED95B
monochromatic
#5A2397 #782EC8 #975BD9 #B78DE5 #D6BEF0

Accessibility & contrast

On white

4.36
#975BD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#975BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BD9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BD9#FFFFFF#000000##000000
##975BD91.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2178DD
Deuteranopia (green-blind)
#3C79D6
Tritanopia (blue-blind)
#8B7491
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #975bd9;
/* rgb */ color: rgb(151, 91, 217);
/* oklch */ color: oklch(59.6% 0.188 303.1);
Tailwind
colors: {
  custom: {
    50: '#b98ce5',
    500: '#975bd9',
    950: '#000000',
  },
}
SCSS
$custom: #975bd9;
$custom-light: #b98ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#975bd9",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 268.571,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59641,
    "c": 0.18786,
    "h": 303.1
  },
  "luminance": 0.19071
}

Semantic roles & 50–950 ramp

primary
#975BD9
secondary
#C9E0B0
accent
#CA1B77
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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