#975BDD#975BDD

#975BDD is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.9% C 0.192 H 302.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#975BDD
RGBrgb(151, 91, 221)
HSLhsl(268, 66%, 61%)
HSVhsv(268, 59%, 87%)
CMYKcmyk(31.7%, 58.8%, 0%, 13.3%)
CIE-LABlab(51.02, 49.87, -57.53)
CIE-LCHlch(51.02, 76.13, 310.92°)
OKLaboklab(59.9% 0.1026 -0.1629)
OKLCHoklch(59.9% 0.192 302.2)
XYZxyz(29.5517, 19.2819, 70.5575)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BDD #A1DD5B
analogous
#5B60DD #975BDD #D85BDD
triadic
#975BDD #DD975B #5BDD97
tetradic
#975BDD #DD5B60 #A1DD5B #5BDDD8
square
#975BDD #DD5B60 #A1DD5B #5BDDD8
split-complementary
#975BDD #DDD85B #60DD5B
monochromatic
#5A219D #772BD0 #975BDD #B78EE8 #D7C0F2

Accessibility & contrast

On white

4.32
#975BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#975BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BDD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BDD#FFFFFF#000000##000000
##975BDD1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1878E1
Deuteranopia (green-blind)
#3879DA
Tritanopia (blue-blind)
#897693
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #975bdd;
/* rgb */ color: rgb(151, 91, 221);
/* oklch */ color: oklch(59.9% 0.192 302.2);
Tailwind
colors: {
  custom: {
    50: '#ba8ce8',
    500: '#975bdd',
    950: '#000000',
  },
}
SCSS
$custom: #975bdd;
$custom-light: #ba8ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#975bdd",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 221
  },
  "hsl": {
    "h": 267.692,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59898,
    "c": 0.19249,
    "h": 302.2
  },
  "luminance": 0.19282
}

Semantic roles & 50–950 ramp

primary
#975BDD
secondary
#CCE2B1
accent
#CE187A
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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