#975EB2#975EB2

#975EB2 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 57.8% C 0.138 H 314.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#975EB2
RGBrgb(151, 94, 178)
HSLhsl(281, 35%, 53%)
HSVhsv(281, 47%, 70%)
CMYKcmyk(15.2%, 47.2%, 0%, 30.2%)
CIE-LABlab(49.25, 38.24, -35.63)
CIE-LCHlch(49.25, 52.27, 317.03°)
OKLaboklab(57.83% 0.0958 -0.099)
OKLCHoklch(57.83% 0.138 314.1)
XYZxyz(24.7998, 17.7997, 44.2401)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EB2 #79B25E
analogous
#6D5EB2 #975EB2 #B25EA3
triadic
#975EB2 #B2975E #5EB297
tetradic
#975EB2 #B26D5E #79B25E #5EA3B2
square
#975EB2 #B26D5E #79B25E #5EA3B2
split-complementary
#975EB2 #A3B25E #5EB26D
monochromatic
#543065 #77448F #975EB2 #B287C6 #CCB1DA

Accessibility & contrast

On white

4.61
#975EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#975EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #975EB2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EB2#FFFFFF#000000##FFFFFF
##975EB21.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#5D77B0
Tritanopia (blue-blind)
#956B80
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #975eb2;
/* rgb */ color: rgb(151, 94, 178);
/* oklch */ color: oklch(57.8% 0.138 314.1);
Tailwind
colors: {
  custom: {
    50: '#b78dc9',
    500: '#975eb2',
    950: '#000000',
  },
}
SCSS
$custom: #975eb2;
$custom-light: #b78dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#975eb2",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 280.714,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57826,
    "c": 0.13773,
    "h": 314.1
  },
  "luminance": 0.17799
}

Semantic roles & 50–950 ramp

primary
#975EB2
secondary
#AFC8A4
accent
#CB5C80
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #975EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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