#975CD9#975CD9

#975CD9 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.8% C 0.186 H 302.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#975CD9
RGBrgb(151, 92, 217)
HSLhsl(268, 62%, 61%)
HSVhsv(268, 58%, 85%)
CMYKcmyk(30.4%, 57.6%, 0%, 14.9%)
CIE-LABlab(50.97, 48.37, -55.33)
CIE-LCHlch(50.97, 73.49, 311.16°)
OKLaboklab(59.79% 0.1014 -0.1564)
OKLCHoklch(59.79% 0.186 302.9)
XYZxyz(29.1112, 19.2434, 67.8129)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CD9 #9ED95C
analogous
#5C5FD9 #975CD9 #D55CD9
triadic
#975CD9 #D9975C #5CD997
tetradic
#975CD9 #D95C5F #9ED95C #5CD9D5
square
#975CD9 #D95C5F #9ED95C #5CD9D5
split-complementary
#975CD9 #D9D55C #5FD95C
monochromatic
#5A2397 #782FC9 #975CD9 #B78EE5 #D6BFF0

Accessibility & contrast

On white

4.33
#975CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#975CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975CD9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CD9#FFFFFF#000000##000000
##975CD91.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2478DD
Deuteranopia (green-blind)
#3E79D6
Tritanopia (blue-blind)
#8B7592
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #975cd9;
/* rgb */ color: rgb(151, 92, 217);
/* oklch */ color: oklch(59.8% 0.186 302.9);
Tailwind
colors: {
  custom: {
    50: '#b98ce5',
    500: '#975cd9',
    950: '#000000',
  },
}
SCSS
$custom: #975cd9;
$custom-light: #b98ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#975cd9",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 268.32,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59787,
    "c": 0.1864,
    "h": 302.9
  },
  "luminance": 0.19243
}

Semantic roles & 50–950 ramp

primary
#975CD9
secondary
#CAE0B1
accent
#CA1C78
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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