#975FB2#975FB2

#975FB2 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.0% C 0.136 H 313.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#975FB2
RGBrgb(151, 95, 178)
HSLhsl(280, 35%, 54%)
HSVhsv(280, 47%, 70%)
CMYKcmyk(15.2%, 46.6%, 0%, 30.2%)
CIE-LABlab(49.47, 37.69, -35.29)
CIE-LCHlch(49.47, 51.63, 316.88°)
OKLaboklab(57.99% 0.0943 -0.098)
OKLCHoklch(57.99% 0.136 313.9)
XYZxyz(24.8893, 17.9787, 44.2700)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FB2 #7AB25F
analogous
#6D5FB2 #975FB2 #B25FA3
triadic
#975FB2 #B2975F #5FB297
tetradic
#975FB2 #B26D5F #7AB25F #5FA3B2
square
#975FB2 #B26D5F #7AB25F #5FA3B2
split-complementary
#975FB2 #A3B25F #5FB26D
monochromatic
#553166 #77458F #975FB2 #B288C6 #CDB2DA

Accessibility & contrast

On white

4.57
#975FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#975FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FB2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FB2#FFFFFF#000000##000000
##975FB21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E72B5
Deuteranopia (green-blind)
#5D77B0
Tritanopia (blue-blind)
#956B80
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #975fb2;
/* rgb */ color: rgb(151, 95, 178);
/* oklch */ color: oklch(58.0% 0.136 313.9);
Tailwind
colors: {
  custom: {
    50: '#b78ec9',
    500: '#975fb2',
    950: '#000000',
  },
}
SCSS
$custom: #975fb2;
$custom-light: #b78ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#975fb2",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 280.482,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57989,
    "c": 0.136,
    "h": 313.9
  },
  "luminance": 0.17978
}

Semantic roles & 50–950 ramp

primary
#975FB2
secondary
#B0C8A5
accent
#CB5D81
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #975FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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