#975FC5#975FC5

#975FC5 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.0% C 0.158 H 307.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#975FC5
RGBrgb(151, 95, 197)
HSLhsl(273, 47%, 57%)
HSVhsv(273, 52%, 77%)
CMYKcmyk(23.4%, 51.8%, 0%, 22.7%)
CIE-LABlab(50.45, 41.99, -44.74)
CIE-LCHlch(50.45, 61.36, 313.19°)
OKLaboklab(59.03% 0.0966 -0.1254)
OKLCHoklch(59.03% 0.158 307.6)
XYZxyz(26.9307, 18.7953, 55.0216)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FC5 #8DC55F
analogous
#645FC5 #975FC5 #C55FC0
triadic
#975FC5 #C5975F #5FC597
tetradic
#975FC5 #C5645F #8DC55F #5FC0C5
square
#975FC5 #C5645F #8DC55F #5FC0C5
split-complementary
#975FC5 #C0C55F #5FC564
monochromatic
#592D7C #793DA9 #975FC5 #B48CD5 #D1B9E6

Accessibility & contrast

On white

4.41
#975FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#975FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FC5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FC5#FFFFFF#000000##000000
##975FC51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4176C8
Deuteranopia (green-blind)
#5279C2
Tritanopia (blue-blind)
#907189
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975fc5;
/* rgb */ color: rgb(151, 95, 197);
/* oklch */ color: oklch(59.0% 0.158 307.6);
Tailwind
colors: {
  custom: {
    50: '#b88ed7',
    500: '#975fc5',
    950: '#000000',
  },
}
SCSS
$custom: #975fc5;
$custom-light: #b88ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#975fc5",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 272.941,
    "s": 46.789,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59032,
    "c": 0.15833,
    "h": 307.6
  },
  "luminance": 0.18795
}

Semantic roles & 50–950 ramp

primary
#975FC5
secondary
#BED5AB
accent
#D6518D
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #975FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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