#975291#975291

#975291 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 54.3% C 0.124 H 330.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#975291
RGBrgb(151, 82, 145)
HSLhsl(305, 30%, 46%)
HSVhsv(305, 46%, 59%)
CMYKcmyk(0%, 45.7%, 4%, 40.8%)
CIE-LABlab(45.16, 38.11, -22.50)
CIE-LCHlch(45.16, 44.25, 329.44°)
OKLaboklab(54.28% 0.1077 -0.0612)
OKLCHoklch(54.28% 0.124 330.4)
XYZxyz(20.8904, 14.6594, 28.5118)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975291 #529758
analogous
#7A5297 #975291 #97526E
triadic
#975291 #919752 #529197
tetradic
#975291 #977A52 #529758 #526E97
square
#975291 #977A52 #529758 #526E97
split-complementary
#975291 #6E9752 #52977A
monochromatic
#482745 #6F3C6B #975291 #B373AD #C99BC5

Accessibility & contrast

On white

5.34
#975291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#975291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975291
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975291#FFFFFF#000000##FFFFFF
##9752911.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6593
Deuteranopia (green-blind)
#626E8F
Tritanopia (blue-blind)
#9C576B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #975291;
/* rgb */ color: rgb(151, 82, 145);
/* oklch */ color: oklch(54.3% 0.124 330.4);
Tailwind
colors: {
  custom: {
    50: '#b785b1',
    500: '#975291',
    950: '#000000',
  },
}
SCSS
$custom: #975291;
$custom-light: #b785b1;
$custom-dark: #000000;
JSON
{
  "hex": "#975291",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 145
  },
  "hsl": {
    "h": 305.217,
    "s": 29.614,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54279,
    "c": 0.12384,
    "h": 330.4
  },
  "luminance": 0.14658
}

Semantic roles & 50–950 ramp

primary
#975291
secondary
#8FB693
accent
#C66B62
background
#FBF8FA
surface
#F6EFF5
border
#D0CACF
text
#110B10
muted
#807C7F

Preview Lab

Preview with #975291

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

Preview Lab → · Contrast checker → · Palette generator →

#975291 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva