#975BDE#975BDE

#975BDE is a mid, vivid violet. Relative luminance 0.193; OKLCH L 60.0% C 0.194 H 302.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#975BDE
RGBrgb(151, 91, 222)
HSLhsl(267, 66%, 61%)
HSVhsv(267, 59%, 87%)
CMYKcmyk(32%, 59%, 0%, 12.9%)
CIE-LABlab(51.08, 50.11, -57.99)
CIE-LCHlch(51.08, 76.65, 310.83°)
OKLaboklab(59.96% 0.1026 -0.1642)
OKLCHoklch(59.96% 0.194 302)
XYZxyz(29.6853, 19.3353, 71.2613)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BDE #A2DE5B
analogous
#5B61DE #975BDE #D95BDE
triadic
#975BDE #DE975B #5BDE97
tetradic
#975BDE #DE5B61 #A2DE5B #5BDED9
square
#975BDE #DE5B61 #A2DE5B #5BDED9
split-complementary
#975BDE #DED95B #61DE5B
monochromatic
#5A209F #772AD2 #975BDE #B78EE8 #D8C1F3

Accessibility & contrast

On white

4.31
#975BDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#975BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BDE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BDE#FFFFFF#000000##000000
##975BDE1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1579E2
Deuteranopia (green-blind)
#3679DB
Tritanopia (blue-blind)
#897694
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975bde;
/* rgb */ color: rgb(151, 91, 222);
/* oklch */ color: oklch(60.0% 0.194 302.0);
Tailwind
colors: {
  custom: {
    50: '#ba8ce9',
    500: '#975bde',
    950: '#000000',
  },
}
SCSS
$custom: #975bde;
$custom-light: #ba8ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#975bde",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 222
  },
  "hsl": {
    "h": 267.481,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59963,
    "c": 0.19364,
    "h": 302
  },
  "luminance": 0.19335
}

Semantic roles & 50–950 ramp

primary
#975BDE
secondary
#CCE3B2
accent
#CE177A
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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