#975CD1#975CD1

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

Color values

HEX#975CD1
RGBrgb(151, 92, 209)
HSLhsl(270, 56%, 59%)
HSVhsv(270, 56%, 82%)
CMYKcmyk(27.8%, 56%, 0%, 18%)
CIE-LABlab(50.50, 46.45, -51.54)
CIE-LCHlch(50.50, 69.38, 312.03°)
OKLaboklab(59.29% 0.1013 -0.1453)
OKLCHoklch(59.29% 0.177 304.9)
XYZxyz(28.0958, 18.8372, 62.4650)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CD1 #96D15C
analogous
#5D5CD1 #975CD1 #D15CD1
triadic
#975CD1 #D1975C #5CD197
tetradic
#975CD1 #D15D5C #96D15C #5CD1D1
square
#975CD1 #D15D5C #96D15C #5CD1D1
split-complementary
#975CD1 #D1D15C #5CD15D
monochromatic
#5A278B #7835BB #975CD1 #B58CDE #D4BBEC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##975CD1#FFFFFF#000000##000000
##975CD11.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)
#3077D5
Deuteranopia (green-blind)
#4678CE
Tritanopia (blue-blind)
#8D728E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975cd1;
/* rgb */ color: rgb(151, 92, 209);
/* oklch */ color: oklch(59.3% 0.177 304.9);
Tailwind
colors: {
  custom: {
    50: '#b98ce0',
    500: '#975cd1',
    950: '#000000',
  },
}
SCSS
$custom: #975cd1;
$custom-light: #b98ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#975cd1",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 270.256,
    "s": 55.981,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59287,
    "c": 0.17711,
    "h": 304.9
  },
  "luminance": 0.18837
}

Semantic roles & 50–950 ramp

primary
#975CD1
secondary
#C4DBAD
accent
#DF4993
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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