#975DB1#975DB1

#975DB1 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 57.6% C 0.138 H 314.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#975DB1
RGBrgb(151, 93, 177)
HSLhsl(281, 35%, 53%)
HSVhsv(281, 47%, 69%)
CMYKcmyk(14.7%, 47.5%, 0%, 30.6%)
CIE-LABlab(48.99, 38.58, -35.46)
CIE-LCHlch(48.99, 52.40, 317.41°)
OKLaboklab(57.61% 0.0971 -0.0985)
OKLCHoklch(57.61% 0.138 314.6)
XYZxyz(24.6114, 17.5830, 43.6838)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DB1 #77B15D
analogous
#6D5DB1 #975DB1 #B15DA1
triadic
#975DB1 #B1975D #5DB197
tetradic
#975DB1 #B16D5D #77B15D #5DA1B1
square
#975DB1 #B16D5D #77B15D #5DA1B1
split-complementary
#975DB1 #A1B15D #5DB16D
monochromatic
#543064 #76448D #975DB1 #B286C5 #CCB0D9

Accessibility & contrast

On white

4.65
#975DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#975DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #975DB1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DB1#FFFFFF#000000##FFFFFF
##975DB11.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B4
Deuteranopia (green-blind)
#5C76AF
Tritanopia (blue-blind)
#95697F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #975db1;
/* rgb */ color: rgb(151, 93, 177);
/* oklch */ color: oklch(57.6% 0.138 314.6);
Tailwind
colors: {
  custom: {
    50: '#b78cc8',
    500: '#975db1',
    950: '#000000',
  },
}
SCSS
$custom: #975db1;
$custom-light: #b78cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#975db1",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 177
  },
  "hsl": {
    "h": 281.429,
    "s": 35,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57612,
    "c": 0.13829,
    "h": 314.6
  },
  "luminance": 0.17582
}

Semantic roles & 50–950 ramp

primary
#975DB1
secondary
#AEC7A3
accent
#CB5D7F
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #975DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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