#975FD1#975FD1

#975FD1 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.7% C 0.173 H 304.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#975FD1
RGBrgb(151, 95, 209)
HSLhsl(269, 55%, 60%)
HSVhsv(269, 55%, 82%)
CMYKcmyk(27.8%, 54.5%, 0%, 18%)
CIE-LABlab(51.11, 44.83, -50.55)
CIE-LCHlch(51.11, 67.56, 311.57°)
OKLaboklab(59.74% 0.0974 -0.1424)
OKLCHoklch(59.74% 0.173 304.4)
XYZxyz(28.3608, 19.3673, 62.5534)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FD1 #99D15F
analogous
#5F60D1 #975FD1 #D05FD1
triadic
#975FD1 #D1975F #5FD197
tetradic
#975FD1 #D15F60 #99D15F #5FD1D0
square
#975FD1 #D15F60 #99D15F #5FD1D0
split-complementary
#975FD1 #D1D05F #60D15F
monochromatic
#5A298D #7836BD #975FD1 #B68FDF #D5BEEC

Accessibility & contrast

On white

4.31
#975FD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#975FD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FD1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FD1#FFFFFF#000000##000000
##975FD11.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3678D5
Deuteranopia (green-blind)
#497ACE
Tritanopia (blue-blind)
#8D758F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975fd1;
/* rgb */ color: rgb(151, 95, 209);
/* oklch */ color: oklch(59.7% 0.173 304.4);
Tailwind
colors: {
  custom: {
    50: '#b98ee0',
    500: '#975fd1',
    950: '#000000',
  },
}
SCSS
$custom: #975fd1;
$custom-light: #b98ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#975fd1",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 209
  },
  "hsl": {
    "h": 269.474,
    "s": 55.34,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59741,
    "c": 0.17253,
    "h": 304.4
  },
  "luminance": 0.19367
}

Semantic roles & 50–950 ramp

primary
#975FD1
secondary
#C6DCB0
accent
#DF4995
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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