#975BE5#975BE5

#975BE5 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.202 H 300.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#975BE5
RGBrgb(151, 91, 229)
HSLhsl(266, 73%, 63%)
HSVhsv(266, 60%, 90%)
CMYKcmyk(34.1%, 60.3%, 0%, 10.2%)
CIE-LABlab(51.52, 51.82, -61.24)
CIE-LCHlch(51.52, 80.22, 310.24°)
OKLaboklab(60.43% 0.1024 -0.1738)
OKLCHoklch(60.43% 0.202 300.5)
XYZxyz(30.6430, 19.7184, 76.3052)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BE5 #A9E55B
analogous
#5B64E5 #975BE5 #DC5BE5
triadic
#975BE5 #E5975B #5BE597
tetradic
#975BE5 #E55B64 #A9E55B #5BE5DC
square
#975BE5 #E55B64 #A9E55B #5BE5DC
split-complementary
#975BE5 #E5DC5B #64E55B
monochromatic
#591BAB #7626DD #975BE5 #B890ED #DAC5F6

Accessibility & contrast

On white

4.25
#975BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#975BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BE5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BE5#FFFFFF#000000##000000
##975BE51.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#2C7AE2
Tritanopia (blue-blind)
#877898
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975be5;
/* rgb */ color: rgb(151, 91, 229);
/* oklch */ color: oklch(60.4% 0.202 300.5);
Tailwind
colors: {
  custom: {
    50: '#ba8cee',
    500: '#975be5',
    950: '#000000',
  },
}
SCSS
$custom: #975be5;
$custom-light: #ba8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#975be5",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 229
  },
  "hsl": {
    "h": 266.087,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60425,
    "c": 0.20168,
    "h": 300.5
  },
  "luminance": 0.19719
}

Semantic roles & 50–950 ramp

primary
#975BE5
secondary
#D1E7B5
accent
#D51180
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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