#975BE1#975BE1

#975BE1 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.2% C 0.197 H 301.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#975BE1
RGBrgb(151, 91, 225)
HSLhsl(267, 69%, 62%)
HSVhsv(267, 60%, 88%)
CMYKcmyk(32.9%, 59.6%, 0%, 11.8%)
CIE-LABlab(51.26, 50.84, -59.39)
CIE-LCHlch(51.26, 78.18, 310.57°)
OKLaboklab(60.16% 0.1025 -0.1683)
OKLCHoklch(60.16% 0.197 301.3)
XYZxyz(30.0910, 19.4976, 73.3977)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BE1 #A5E15B
analogous
#5B62E1 #975BE1 #DA5BE1
triadic
#975BE1 #E1975B #5BE197
tetradic
#975BE1 #E15B62 #A5E15B #5BE1DA
square
#975BE1 #E15B62 #A5E15B #5BE1DA
split-complementary
#975BE1 #E1DA5B #62E15B
monochromatic
#5A1EA4 #7627D7 #975BE1 #B88FEA #D9C2F4

Accessibility & contrast

On white

4.29
#975BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#975BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BE1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BE1#FFFFFF#000000##000000
##975BE11.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A79E5
Deuteranopia (green-blind)
#3279DE
Tritanopia (blue-blind)
#887795
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975be1;
/* rgb */ color: rgb(151, 91, 225);
/* oklch */ color: oklch(60.2% 0.197 301.3);
Tailwind
colors: {
  custom: {
    50: '#ba8ceb',
    500: '#975be1',
    950: '#000000',
  },
}
SCSS
$custom: #975be1;
$custom-light: #ba8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#975be1",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 225
  },
  "hsl": {
    "h": 266.866,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6016,
    "c": 0.19709,
    "h": 301.3
  },
  "luminance": 0.19498
}

Semantic roles & 50–950 ramp

primary
#975BE1
secondary
#CEE5B3
accent
#D1147D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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