#975E98#975E98

#975E98 is a mid, moderate purple. Relative luminance 0.169; OKLCH L 56.6% C 0.109 H 326.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#975E98
RGBrgb(151, 94, 152)
HSLhsl(299, 24%, 48%)
HSVhsv(299, 38%, 60%)
CMYKcmyk(0.7%, 38.2%, 0%, 40.4%)
CIE-LABlab(48.07, 32.81, -22.18)
CIE-LCHlch(48.07, 39.61, 325.94°)
OKLaboklab(56.56% 0.0906 -0.0604)
OKLCHoklch(56.56% 0.109 326.3)
XYZxyz(22.4322, 16.8527, 31.7709)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975E98 #5F985E
analogous
#7A5E98 #975E98 #985E7C
triadic
#975E98 #98975E #5E9897
tetradic
#975E98 #987A5E #5F985E #5E7C98
square
#975E98 #987A5E #5F985E #5E7C98
split-complementary
#975E98 #7C985E #5E987A
monochromatic
#4C2F4C #714772 #975E98 #B182B2 #C8A8C9

Accessibility & contrast

On white

4.81
#975E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#975E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975E98
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975E98#FFFFFF#000000##FFFFFF
##975E981.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596E9A
Deuteranopia (green-blind)
#687596
Tritanopia (blue-blind)
#9A6474
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #975e98;
/* rgb */ color: rgb(151, 94, 152);
/* oklch */ color: oklch(56.6% 0.109 326.3);
Tailwind
colors: {
  custom: {
    50: '#b78db6',
    500: '#975e98',
    950: '#000000',
  },
}
SCSS
$custom: #975e98;
$custom-light: #b78db6;
$custom-dark: #000000;
JSON
{
  "hex": "#975e98",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 152
  },
  "hsl": {
    "h": 298.966,
    "s": 23.577,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56557,
    "c": 0.1089,
    "h": 326.3
  },
  "luminance": 0.16852
}

Semantic roles & 50–950 ramp

primary
#975E98
secondary
#9BB79B
accent
#C06869
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C11
muted
#807D80

Preview Lab

Preview with #975E98

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

Preview Lab → · Contrast checker → · Palette generator →

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