#975FA4#975FA4

#975FA4 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.3% C 0.120 H 319.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#975FA4
RGBrgb(151, 95, 164)
HSLhsl(289, 27%, 51%)
HSVhsv(289, 42%, 64%)
CMYKcmyk(7.9%, 42.1%, 0%, 35.7%)
CIE-LABlab(48.82, 34.68, -28.12)
CIE-LCHlch(48.82, 44.65, 320.97°)
OKLaboklab(57.29% 0.0918 -0.0773)
OKLCHoklch(57.29% 0.12 319.9)
XYZxyz(23.5547, 17.4448, 37.2412)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FA4 #6CA45F
analogous
#745FA4 #975FA4 #A45F8E
triadic
#975FA4 #A4975F #5FA497
tetradic
#975FA4 #A4745F #6CA45F #5F8EA4
square
#975FA4 #A4745F #6CA45F #5F8EA4
split-complementary
#975FA4 #8EA45F #5FA474
monochromatic
#503257 #74487E #975FA4 #B086BA #CAADD0

Accessibility & contrast

On white

4.68
#975FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#975FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975FA4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FA4#FFFFFF#000000##FFFFFF
##975FA41.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5570A6
Deuteranopia (green-blind)
#6476A2
Tritanopia (blue-blind)
#98687A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #975fa4;
/* rgb */ color: rgb(151, 95, 164);
/* oklch */ color: oklch(57.3% 0.120 319.9);
Tailwind
colors: {
  custom: {
    50: '#b78ebf',
    500: '#975fa4',
    950: '#000000',
  },
}
SCSS
$custom: #975fa4;
$custom-light: #b78ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#975fa4",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 288.696,
    "s": 27.49,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57285,
    "c": 0.12004,
    "h": 319.9
  },
  "luminance": 0.17444
}

Semantic roles & 50–950 ramp

primary
#975FA4
secondary
#A6BFA0
accent
#C46476
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #975FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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