#975FD5#975FD5

#975FD5 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.0% C 0.177 H 303.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#975FD5
RGBrgb(151, 95, 213)
HSLhsl(268, 58%, 60%)
HSVhsv(268, 55%, 84%)
CMYKcmyk(29.1%, 55.4%, 0%, 16.5%)
CIE-LABlab(51.35, 45.79, -52.46)
CIE-LCHlch(51.35, 69.63, 311.12°)
OKLaboklab(59.99% 0.0975 -0.148)
OKLCHoklch(59.99% 0.177 303.4)
XYZxyz(28.8623, 19.5679, 65.1943)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FD5 #9DD55F
analogous
#5F62D5 #975FD5 #D25FD5
triadic
#975FD5 #D5975F #5FD597
tetradic
#975FD5 #D55F62 #9DD55F #5FD5D2
square
#975FD5 #D55F62 #9DD55F #5FD5D2
split-complementary
#975FD5 #D5D25F #62D55F
monochromatic
#5A2793 #7833C3 #975FD5 #B78FE2 #D6C0EE

Accessibility & contrast

On white

4.27
#975FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#975FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FD5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FD5#FFFFFF#000000##000000
##975FD51.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3179D9
Deuteranopia (green-blind)
#467AD2
Tritanopia (blue-blind)
#8C7691
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975fd5;
/* rgb */ color: rgb(151, 95, 213);
/* oklch */ color: oklch(60.0% 0.177 303.4);
Tailwind
colors: {
  custom: {
    50: '#b98ee2',
    500: '#975fd5',
    950: '#000000',
  },
}
SCSS
$custom: #975fd5;
$custom-light: #b98ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#975fd5",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 268.475,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59986,
    "c": 0.17727,
    "h": 303.4
  },
  "luminance": 0.19568
}

Semantic roles & 50–950 ramp

primary
#975FD5
secondary
#C9DEB1
accent
#C61F77
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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