#975EA1#975EA1

#975EA1 is a mid, moderate purple. Relative luminance 0.172; OKLCH L 57.0% C 0.119 H 321.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#975EA1
RGBrgb(151, 94, 161)
HSLhsl(291, 26%, 50%)
HSVhsv(291, 42%, 63%)
CMYKcmyk(6.2%, 41.6%, 0%, 36.9%)
CIE-LABlab(48.46, 34.62, -26.90)
CIE-LCHlch(48.46, 43.85, 322.15°)
OKLaboklab(56.97% 0.0927 -0.0739)
OKLCHoklch(56.97% 0.119 321.5)
XYZxyz(23.1975, 17.1588, 35.8013)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EA1 #68A15E
analogous
#765EA1 #975EA1 #A15E89
triadic
#975EA1 #A1975E #5EA197
tetradic
#975EA1 #A1765E #68A15E #5E89A1
square
#975EA1 #A1765E #68A15E #5E89A1
split-complementary
#975EA1 #89A15E #5EA176
monochromatic
#4F3154 #73477A #975EA1 #B085B8 #C9ABCE

Accessibility & contrast

On white

4.74
#975EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#975EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975EA1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EA1#FFFFFF#000000##FFFFFF
##975EA11.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556FA3
Deuteranopia (green-blind)
#64759F
Tritanopia (blue-blind)
#986678
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #975ea1;
/* rgb */ color: rgb(151, 94, 161);
/* oklch */ color: oklch(57.0% 0.119 321.5);
Tailwind
colors: {
  custom: {
    50: '#b78dbd',
    500: '#975ea1',
    950: '#000000',
  },
}
SCSS
$custom: #975ea1;
$custom-light: #b78dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#975ea1",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 291.045,
    "s": 26.275,
    "l": 50
  },
  "oklch": {
    "l": 0.56974,
    "c": 0.11852,
    "h": 321.5
  },
  "luminance": 0.17158
}

Semantic roles & 50–950 ramp

primary
#975EA1
secondary
#A3BC9E
accent
#C36573
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #975EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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