#975DB7#975DB7

#975DB7 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.9% C 0.145 H 312.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#975DB7
RGBrgb(151, 93, 183)
HSLhsl(279, 38%, 54%)
HSVhsv(279, 49%, 72%)
CMYKcmyk(17.5%, 49.2%, 0%, 28.2%)
CIE-LABlab(49.29, 39.90, -38.48)
CIE-LCHlch(49.29, 55.44, 316.04°)
OKLaboklab(57.93% 0.0979 -0.1072)
OKLCHoklch(57.93% 0.145 312.4)
XYZxyz(25.2226, 17.8275, 46.9029)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DB7 #7DB75D
analogous
#6A5DB7 #975DB7 #B75DAA
triadic
#975DB7 #B7975D #5DB797
tetradic
#975DB7 #B76A5D #7DB75D #5DAAB7
square
#975DB7 #B76A5D #7DB75D #5DAAB7
split-complementary
#975DB7 #AAB75D #5DB76A
monochromatic
#552F6A #774295 #975DB7 #B287CA #CDB2DD

Accessibility & contrast

On white

4.60
#975DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#975DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #975DB7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DB7#FFFFFF#000000##FFFFFF
##975DB71.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4872BA
Deuteranopia (green-blind)
#5976B5
Tritanopia (blue-blind)
#946B81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #975db7;
/* rgb */ color: rgb(151, 93, 183);
/* oklch */ color: oklch(57.9% 0.145 312.4);
Tailwind
colors: {
  custom: {
    50: '#b78dcd',
    500: '#975db7',
    950: '#000000',
  },
}
SCSS
$custom: #975db7;
$custom-light: #b78dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#975db7",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 183
  },
  "hsl": {
    "h": 278.667,
    "s": 38.462,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57933,
    "c": 0.14521,
    "h": 312.4
  },
  "luminance": 0.17827
}

Semantic roles & 50–950 ramp

primary
#975DB7
secondary
#B2CBA5
accent
#CE5983
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C13
muted
#807D82

Preview Lab

Preview with #975DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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