#975CD5#975CD5

#975CD5 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.5% C 0.182 H 303.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#975CD5
RGBrgb(151, 92, 213)
HSLhsl(269, 59%, 60%)
HSVhsv(269, 57%, 84%)
CMYKcmyk(29.1%, 56.8%, 0%, 16.5%)
CIE-LABlab(50.73, 47.41, -53.44)
CIE-LCHlch(50.73, 71.44, 311.58°)
OKLaboklab(59.54% 0.1013 -0.1509)
OKLCHoklch(59.54% 0.182 303.9)
XYZxyz(28.5972, 19.0378, 65.1060)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CD5 #9AD55C
analogous
#5C5ED5 #975CD5 #D35CD5
triadic
#975CD5 #D5975C #5CD597
tetradic
#975CD5 #D55C5E #9AD55C #5CD5D3
square
#975CD5 #D55C5E #9AD55C #5CD5D3
split-complementary
#975CD5 #D5D35C #5ED55C
monochromatic
#5A2591 #7832C2 #975CD5 #B68DE2 #D5BDEE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##975CD5#FFFFFF#000000##000000
##975CD51.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A77D9
Deuteranopia (green-blind)
#4279D2
Tritanopia (blue-blind)
#8C7490
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #975cd5;
/* rgb */ color: rgb(151, 92, 213);
/* oklch */ color: oklch(59.5% 0.182 303.9);
Tailwind
colors: {
  custom: {
    50: '#b98ce2',
    500: '#975cd5',
    950: '#000000',
  },
}
SCSS
$custom: #975cd5;
$custom-light: #b98ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#975cd5",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 269.256,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59535,
    "c": 0.18176,
    "h": 303.9
  },
  "luminance": 0.19038
}

Semantic roles & 50–950 ramp

primary
#975CD5
secondary
#C7DEAF
accent
#E24696
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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