#975DB2#975DB2

#975DB2 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 57.7% C 0.139 H 314.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#975DB2
RGBrgb(151, 93, 178)
HSLhsl(281, 36%, 53%)
HSVhsv(281, 48%, 70%)
CMYKcmyk(15.2%, 47.8%, 0%, 30.2%)
CIE-LABlab(49.04, 38.80, -35.97)
CIE-LCHlch(49.04, 52.90, 317.17°)
OKLaboklab(57.67% 0.0972 -0.0999)
OKLCHoklch(57.67% 0.139 314.2)
XYZxyz(24.7114, 17.6230, 44.2107)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DB2 #78B25D
analogous
#6C5DB2 #975DB2 #B25DA2
triadic
#975DB2 #B2975D #5DB297
tetradic
#975DB2 #B26C5D #78B25D #5DA2B2
square
#975DB2 #B26C5D #78B25D #5DA2B2
split-complementary
#975DB2 #A2B25D #5DB26C
monochromatic
#543065 #77448E #975DB2 #B286C6 #CCB0D9

Accessibility & contrast

On white

4.64
#975DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #975DB2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DB2#FFFFFF#000000##FFFFFF
##975DB21.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#5C76B0
Tritanopia (blue-blind)
#956A7F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #975db2;
/* rgb */ color: rgb(151, 93, 178);
/* oklch */ color: oklch(57.7% 0.139 314.2);
Tailwind
colors: {
  custom: {
    50: '#b78cc9',
    500: '#975db2',
    950: '#000000',
  },
}
SCSS
$custom: #975db2;
$custom-light: #b78cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#975db2",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 280.941,
    "s": 35.565,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57665,
    "c": 0.13943,
    "h": 314.2
  },
  "luminance": 0.17622
}

Semantic roles & 50–950 ramp

primary
#975DB2
secondary
#AFC8A3
accent
#CC5C80
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #975DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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