#975CD6#975CD6

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

Color values

HEX#975CD6
RGBrgb(151, 92, 214)
HSLhsl(269, 60%, 60%)
HSVhsv(269, 57%, 84%)
CMYKcmyk(29.4%, 57%, 0%, 16.1%)
CIE-LABlab(50.79, 47.65, -53.91)
CIE-LCHlch(50.79, 71.95, 311.47°)
OKLaboklab(59.6% 0.1014 -0.1523)
OKLCHoklch(59.6% 0.183 303.6)
XYZxyz(28.7245, 19.0887, 65.7765)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CD6 #9BD65C
analogous
#5C5ED6 #975CD6 #D45CD6
triadic
#975CD6 #D6975C #5CD697
tetradic
#975CD6 #D65C5E #9BD65C #5CD6D4
square
#975CD6 #D65C5E #9BD65C #5CD6D4
split-complementary
#975CD6 #D6D45C #5ED65C
monochromatic
#5A2593 #7831C4 #975CD6 #B68DE2 #D5BEEF

Accessibility & contrast

On white

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

On black

4.82
#975CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975CD6
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CD6#FFFFFF#000000##000000
##975CD61.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2978DA
Deuteranopia (green-blind)
#4179D3
Tritanopia (blue-blind)
#8B7490
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #975cd6;
/* rgb */ color: rgb(151, 92, 214);
/* oklch */ color: oklch(59.6% 0.183 303.6);
Tailwind
colors: {
  custom: {
    50: '#b98ce3',
    500: '#975cd6',
    950: '#000000',
  },
}
SCSS
$custom: #975cd6;
$custom-light: #b98ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#975cd6",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 269.016,
    "s": 59.804,
    "l": 60
  },
  "oklch": {
    "l": 0.59598,
    "c": 0.18292,
    "h": 303.6
  },
  "luminance": 0.19089
}

Semantic roles & 50–950 ramp

primary
#975CD6
secondary
#C8DEAF
accent
#E34596
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C15
muted
#817D84

Preview Lab

Preview with #975CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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