#975EC6#975EC6

#975EC6 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.9% C 0.161 H 307.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#975EC6
RGBrgb(151, 94, 198)
HSLhsl(273, 48%, 57%)
HSVhsv(273, 53%, 78%)
CMYKcmyk(23.7%, 52.5%, 0%, 22.4%)
CIE-LABlab(50.29, 42.77, -45.56)
CIE-LCHlch(50.29, 62.50, 313.19°)
OKLaboklab(58.93% 0.098 -0.1278)
OKLCHoklch(58.93% 0.161 307.5)
XYZxyz(26.9562, 18.6622, 55.5972)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EC6 #8DC65E
analogous
#635EC6 #975EC6 #C65EC1
triadic
#975EC6 #C6975E #5EC697
tetradic
#975EC6 #C6635E #8DC65E #5EC1C6
square
#975EC6 #C6635E #8DC65E #5EC1C6
split-complementary
#975EC6 #C1C65E #5EC663
monochromatic
#592C7D #793CAA #975EC6 #B48BD6 #D1B8E6

Accessibility & contrast

On white

4.44
#975EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#975EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975EC6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EC6#FFFFFF#000000##000000
##975EC61.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F75CA
Deuteranopia (green-blind)
#5178C3
Tritanopia (blue-blind)
#907089
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975ec6;
/* rgb */ color: rgb(151, 94, 198);
/* oklch */ color: oklch(58.9% 0.161 307.5);
Tailwind
colors: {
  custom: {
    50: '#b88dd8',
    500: '#975ec6',
    950: '#000000',
  },
}
SCSS
$custom: #975ec6;
$custom-light: #b88dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#975ec6",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 198
  },
  "hsl": {
    "h": 272.885,
    "s": 47.706,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58934,
    "c": 0.16111,
    "h": 307.5
  },
  "luminance": 0.18662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #975EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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