#975BD4#975BD4

#975BD4 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.3% C 0.182 H 304.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#975BD4
RGBrgb(151, 91, 212)
HSLhsl(270, 58%, 59%)
HSVhsv(270, 57%, 83%)
CMYKcmyk(28.8%, 57.1%, 0%, 16.9%)
CIE-LABlab(50.47, 47.70, -53.29)
CIE-LCHlch(50.47, 71.52, 311.83°)
OKLaboklab(59.32% 0.1026 -0.1504)
OKLCHoklch(59.32% 0.182 304.3)
XYZxyz(28.3846, 18.8151, 64.4109)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BD4 #98D45B
analogous
#5B5CD4 #975BD4 #D45BD4
triadic
#975BD4 #D4975B #5BD497
tetradic
#975BD4 #D45B5C #98D45B #5BD4D4
square
#975BD4 #D45B5C #98D45B #5BD4D4
split-complementary
#975BD4 #D4D45B #5CD45B
monochromatic
#5A268F #7832C0 #975BD4 #B68BE1 #D4BCED

Accessibility & contrast

On white

4.41
#975BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#975BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BD4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BD4#FFFFFF#000000##000000
##975BD41.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2977D8
Deuteranopia (green-blind)
#4178D1
Tritanopia (blue-blind)
#8C738F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975bd4;
/* rgb */ color: rgb(151, 91, 212);
/* oklch */ color: oklch(59.3% 0.182 304.3);
Tailwind
colors: {
  custom: {
    50: '#b98ce2',
    500: '#975bd4',
    950: '#000000',
  },
}
SCSS
$custom: #975bd4;
$custom-light: #b98ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#975bd4",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 212
  },
  "hsl": {
    "h": 269.752,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59324,
    "c": 0.18208,
    "h": 304.3
  },
  "luminance": 0.18815
}

Semantic roles & 50–950 ramp

primary
#975BD4
secondary
#C6DDAE
accent
#E24695
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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