#975FB7#975FB7

#975FB7 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.3% C 0.142 H 312.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#975FB7
RGBrgb(151, 95, 183)
HSLhsl(278, 38%, 55%)
HSVhsv(278, 48%, 72%)
CMYKcmyk(17.5%, 48.1%, 0%, 28.2%)
CIE-LABlab(49.72, 38.80, -37.80)
CIE-LCHlch(49.72, 54.17, 315.74°)
OKLaboklab(58.25% 0.0951 -0.1053)
OKLCHoklch(58.25% 0.142 312.1)
XYZxyz(25.4005, 18.1831, 46.9622)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FB7 #7FB75F
analogous
#6B5FB7 #975FB7 #B75FAB
triadic
#975FB7 #B7975F #5FB797
tetradic
#975FB7 #B76B5F #7FB75F #5FABB7
square
#975FB7 #B76B5F #7FB75F #5FABB7
split-complementary
#975FB7 #ABB75F #5FB76B
monochromatic
#56306B #784396 #975FB7 #B289CA #CEB3DD

Accessibility & contrast

On white

4.53
#975FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#975FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FB7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FB7#FFFFFF#000000##000000
##975FB71.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B73BA
Deuteranopia (green-blind)
#5B77B5
Tritanopia (blue-blind)
#946D82
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #975fb7;
/* rgb */ color: rgb(151, 95, 183);
/* oklch */ color: oklch(58.3% 0.142 312.1);
Tailwind
colors: {
  custom: {
    50: '#b78ecd',
    500: '#975fb7',
    950: '#000000',
  },
}
SCSS
$custom: #975fb7;
$custom-light: #b78ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#975fb7",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 183
  },
  "hsl": {
    "h": 278.182,
    "s": 37.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58254,
    "c": 0.14184,
    "h": 312.1
  },
  "luminance": 0.18183
}

Semantic roles & 50–950 ramp

primary
#975FB7
secondary
#B4CCA6
accent
#CE5A84
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C13
muted
#807D82

Preview Lab

Preview with #975FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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