#975CB8#975CB8

#975CB8 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.8% C 0.148 H 312.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#975CB8
RGBrgb(151, 92, 184)
HSLhsl(278, 39%, 54%)
HSVhsv(278, 50%, 72%)
CMYKcmyk(17.9%, 50%, 0%, 27.8%)
CIE-LABlab(49.12, 40.67, -39.32)
CIE-LCHlch(49.12, 56.57, 315.97°)
OKLaboklab(57.83% 0.0995 -0.1096)
OKLCHoklch(57.83% 0.148 312.2)
XYZxyz(25.2399, 17.6948, 47.4239)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CB8 #7DB85C
analogous
#695CB8 #975CB8 #B85CAB
triadic
#975CB8 #B8975C #5CB897
tetradic
#975CB8 #B8695C #7DB85C #5CABB8
square
#975CB8 #B8695C #7DB85C #5CABB8
split-complementary
#975CB8 #ABB85C #5CB869
monochromatic
#552F6B #774196 #975CB8 #B287CB #CDB1DD

Accessibility & contrast

On white

4.63
#975CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#975CB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #975CB8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CB8#FFFFFF#000000##FFFFFF
##975CB81.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4672BB
Deuteranopia (green-blind)
#5876B6
Tritanopia (blue-blind)
#946B81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #975cb8;
/* rgb */ color: rgb(151, 92, 184);
/* oklch */ color: oklch(57.8% 0.148 312.2);
Tailwind
colors: {
  custom: {
    50: '#b78cce',
    500: '#975cb8',
    950: '#000000',
  },
}
SCSS
$custom: #975cb8;
$custom-light: #b78cce;
$custom-dark: #000000;
JSON
{
  "hex": "#975cb8",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 184
  },
  "hsl": {
    "h": 278.478,
    "s": 39.316,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57829,
    "c": 0.14803,
    "h": 312.2
  },
  "luminance": 0.17694
}

Semantic roles & 50–950 ramp

primary
#975CB8
secondary
#B2CBA4
accent
#CF5983
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #975CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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