#975299#975299

#975299 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 54.7% C 0.132 H 326.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#975299
RGBrgb(151, 82, 153)
HSLhsl(298, 30%, 46%)
HSVhsv(298, 46%, 60%)
CMYKcmyk(1.3%, 46.4%, 0%, 40%)
CIE-LABlab(45.52, 39.63, -26.73)
CIE-LCHlch(45.52, 47.80, 325.99°)
OKLaboklab(54.66% 0.1093 -0.0733)
OKLCHoklch(54.66% 0.132 326.2)
XYZxyz(21.5291, 14.9149, 31.8757)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975299 #549952
analogous
#735299 #975299 #995277
triadic
#975299 #999752 #529997
tetradic
#975299 #997352 #549952 #527799
square
#975299 #997352 #549952 #527799
split-complementary
#975299 #779952 #529973
monochromatic
#482749 #703D71 #975299 #B374B4 #C89CCA

Accessibility & contrast

On white

5.27
#975299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#975299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975299
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975299#FFFFFF#000000##FFFFFF
##9752991.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B669B
Deuteranopia (green-blind)
#5F6F97
Tritanopia (blue-blind)
#9A5A6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #975299;
/* rgb */ color: rgb(151, 82, 153);
/* oklch */ color: oklch(54.7% 0.132 326.2);
Tailwind
colors: {
  custom: {
    50: '#b785b7',
    500: '#975299',
    950: '#000000',
  },
}
SCSS
$custom: #975299;
$custom-light: #b785b7;
$custom-dark: #000000;
JSON
{
  "hex": "#975299",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 298.31,
    "s": 30.213,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54658,
    "c": 0.1316,
    "h": 326.2
  },
  "luminance": 0.14914
}

Semantic roles & 50–950 ramp

primary
#975299
secondary
#91B790
accent
#C66164
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #975299

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

Preview Lab → · Contrast checker → · Palette generator →

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