#975CD3#975CD3

#975CD3 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.179 H 304.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#975CD3
RGBrgb(151, 92, 211)
HSLhsl(270, 57%, 59%)
HSVhsv(270, 56%, 83%)
CMYKcmyk(28.4%, 56.4%, 0%, 17.3%)
CIE-LABlab(50.61, 46.93, -52.49)
CIE-LCHlch(50.61, 70.41, 311.80°)
OKLaboklab(59.41% 0.1013 -0.1481)
OKLCHoklch(59.41% 0.179 304.4)
XYZxyz(28.3449, 18.9369, 63.7773)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CD3 #98D35C
analogous
#5C5DD3 #975CD3 #D35CD3
triadic
#975CD3 #D3975C #5CD397
tetradic
#975CD3 #D35C5D #98D35C #5CD3D3
square
#975CD3 #D35C5D #98D35C #5CD3D3
split-complementary
#975CD3 #D3D35C #5DD35C
monochromatic
#5A268E #7833BE #975CD3 #B68CE0 #D4BCED

Accessibility & contrast

On white

4.39
#975CD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#975CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975CD3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CD3#FFFFFF#000000##000000
##975CD31.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D77D7
Deuteranopia (green-blind)
#4479D0
Tritanopia (blue-blind)
#8C738F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975cd3;
/* rgb */ color: rgb(151, 92, 211);
/* oklch */ color: oklch(59.4% 0.179 304.4);
Tailwind
colors: {
  custom: {
    50: '#b98ce1',
    500: '#975cd3',
    950: '#000000',
  },
}
SCSS
$custom: #975cd3;
$custom-light: #b98ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#975cd3",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 269.748,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5941,
    "c": 0.17943,
    "h": 304.4
  },
  "luminance": 0.18937
}

Semantic roles & 50–950 ramp

primary
#975CD3
secondary
#C6DDAE
accent
#E14795
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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