#975FD3#975FD3

#975FD3 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.9% C 0.175 H 303.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#975FD3
RGBrgb(151, 95, 211)
HSLhsl(269, 57%, 60%)
HSVhsv(269, 55%, 83%)
CMYKcmyk(28.4%, 55%, 0%, 17.3%)
CIE-LABlab(51.23, 45.31, -51.50)
CIE-LCHlch(51.23, 68.60, 311.34°)
OKLaboklab(59.86% 0.0975 -0.1452)
OKLCHoklch(59.86% 0.175 303.9)
XYZxyz(28.6100, 19.4670, 63.8656)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FD3 #9BD35F
analogous
#5F61D3 #975FD3 #D15FD3
triadic
#975FD3 #D3975F #5FD397
tetradic
#975FD3 #D35F61 #9BD35F #5FD3D1
square
#975FD3 #D35F61 #9BD35F #5FD3D1
split-complementary
#975FD3 #D3D15F #61D35F
monochromatic
#5A2890 #7835C0 #975FD3 #B68FE0 #D5BFED

Accessibility & contrast

On white

4.29
#975FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#975FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FD3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FD3#FFFFFF#000000##000000
##975FD31.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3479D7
Deuteranopia (green-blind)
#477AD0
Tritanopia (blue-blind)
#8C7590
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975fd3;
/* rgb */ color: rgb(151, 95, 211);
/* oklch */ color: oklch(59.9% 0.175 303.9);
Tailwind
colors: {
  custom: {
    50: '#b98ee1',
    500: '#975fd3',
    950: '#000000',
  },
}
SCSS
$custom: #975fd3;
$custom-light: #b98ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#975fd3",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 211
  },
  "hsl": {
    "h": 268.966,
    "s": 56.863,
    "l": 60
  },
  "oklch": {
    "l": 0.59863,
    "c": 0.17491,
    "h": 303.9
  },
  "luminance": 0.19467
}

Semantic roles & 50–950 ramp

primary
#975FD3
secondary
#C8DDB1
accent
#E04897
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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