#975BD3#975BD3

#975BD3 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.3% C 0.181 H 304.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#975BD3
RGBrgb(151, 91, 211)
HSLhsl(270, 58%, 59%)
HSVhsv(270, 57%, 83%)
CMYKcmyk(28.4%, 56.9%, 0%, 17.3%)
CIE-LABlab(50.41, 47.46, -52.81)
CIE-LCHlch(50.41, 71.01, 311.94°)
OKLaboklab(59.26% 0.1026 -0.149)
OKLCHoklch(59.26% 0.181 304.5)
XYZxyz(28.2589, 18.7648, 63.7486)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BD3 #97D35B
analogous
#5B5BD3 #975BD3 #D35BD3
triadic
#975BD3 #D3975B #5BD397
tetradic
#975BD3 #D35B5B #97D35B #5BD3D3
square
#975BD3 #D35B5B #97D35B #5BD3D3
split-complementary
#975BD3 #D3D35B #5BD35B
monochromatic
#5A268E #7833BE #975BD3 #B68BE0 #D4BCED

Accessibility & contrast

On white

4.42
#975BD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#975BD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BD3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BD3#FFFFFF#000000##000000
##975BD31.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B76D7
Deuteranopia (green-blind)
#4278D0
Tritanopia (blue-blind)
#8C728E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975bd3;
/* rgb */ color: rgb(151, 91, 211);
/* oklch */ color: oklch(59.3% 0.181 304.5);
Tailwind
colors: {
  custom: {
    50: '#b98ce1',
    500: '#975bd3',
    950: '#000000',
  },
}
SCSS
$custom: #975bd3;
$custom-light: #b98ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#975bd3",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 211
  },
  "hsl": {
    "h": 270,
    "s": 57.692,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59262,
    "c": 0.18093,
    "h": 304.5
  },
  "luminance": 0.18765
}

Semantic roles & 50–950 ramp

primary
#975BD3
secondary
#C5DCAD
accent
#E14794
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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