#975FB5#975FB5

#975FB5 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.1% C 0.139 H 312.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#975FB5
RGBrgb(151, 95, 181)
HSLhsl(279, 37%, 54%)
HSVhsv(279, 48%, 71%)
CMYKcmyk(16.6%, 47.5%, 0%, 29%)
CIE-LABlab(49.62, 38.35, -36.80)
CIE-LCHlch(49.62, 53.15, 316.18°)
OKLaboklab(58.15% 0.0948 -0.1023)
OKLCHoklch(58.15% 0.139 312.8)
XYZxyz(25.1938, 18.1005, 45.8737)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FB5 #7DB55F
analogous
#6C5FB5 #975FB5 #B55FA8
triadic
#975FB5 #B5975F #5FB597
tetradic
#975FB5 #B56C5F #7DB55F #5FA8B5
square
#975FB5 #B56C5F #7DB55F #5FA8B5
split-complementary
#975FB5 #A8B55F #5FB56C
monochromatic
#553169 #774493 #975FB5 #B289C8 #CDB3DC

Accessibility & contrast

On white

4.55
#975FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#975FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FB5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FB5#FFFFFF#000000##000000
##975FB51.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C73B8
Deuteranopia (green-blind)
#5C77B3
Tritanopia (blue-blind)
#946C81
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #975fb5;
/* rgb */ color: rgb(151, 95, 181);
/* oklch */ color: oklch(58.1% 0.139 312.8);
Tailwind
colors: {
  custom: {
    50: '#b78ecb',
    500: '#975fb5',
    950: '#000000',
  },
}
SCSS
$custom: #975fb5;
$custom-light: #b78ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#975fb5",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 181
  },
  "hsl": {
    "h": 279.07,
    "s": 36.752,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58147,
    "c": 0.13949,
    "h": 312.8
  },
  "luminance": 0.181
}

Semantic roles & 50–950 ramp

primary
#975FB5
secondary
#B2CAA6
accent
#CD5B83
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #975FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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