#975DB8#975DB8

#975DB8 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.0% C 0.146 H 312.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#975DB8
RGBrgb(151, 93, 184)
HSLhsl(278, 39%, 54%)
HSVhsv(278, 49%, 72%)
CMYKcmyk(17.9%, 49.5%, 0%, 27.8%)
CIE-LABlab(49.34, 40.13, -38.98)
CIE-LCHlch(49.34, 55.94, 315.83°)
OKLaboklab(57.99% 0.098 -0.1087)
OKLCHoklch(57.99% 0.146 312.1)
XYZxyz(25.3271, 17.8692, 47.4530)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DB8 #7EB85D
analogous
#6A5DB8 #975DB8 #B85DAC
triadic
#975DB8 #B8975D #5DB897
tetradic
#975DB8 #B86A5D #7EB85D #5DACB8
square
#975DB8 #B86A5D #7EB85D #5DACB8
split-complementary
#975DB8 #ACB85D #5DB86A
monochromatic
#562F6B #774296 #975DB8 #B288CB #CEB2DD

Accessibility & contrast

On white

4.59
#975DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#975DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #975DB8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DB8#FFFFFF#000000##FFFFFF
##975DB81.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4872BB
Deuteranopia (green-blind)
#5877B6
Tritanopia (blue-blind)
#946B82
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #975db8;
/* rgb */ color: rgb(151, 93, 184);
/* oklch */ color: oklch(58.0% 0.146 312.1);
Tailwind
colors: {
  custom: {
    50: '#b78dce',
    500: '#975db8',
    950: '#000000',
  },
}
SCSS
$custom: #975db8;
$custom-light: #b78dce;
$custom-dark: #000000;
JSON
{
  "hex": "#975db8",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 184
  },
  "hsl": {
    "h": 278.242,
    "s": 39.056,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57987,
    "c": 0.14637,
    "h": 312.1
  },
  "luminance": 0.17869
}

Semantic roles & 50–950 ramp

primary
#975DB8
secondary
#B3CCA5
accent
#CF5984
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C13
muted
#807D82

Preview Lab

Preview with #975DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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