#975BE7#975BE7

#975BE7 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.6% C 0.204 H 300.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#975BE7
RGBrgb(151, 91, 231)
HSLhsl(266, 74%, 63%)
HSVhsv(266, 61%, 91%)
CMYKcmyk(34.6%, 60.6%, 0%, 9.4%)
CIE-LABlab(51.65, 52.32, -62.16)
CIE-LCHlch(51.65, 81.25, 310.09°)
OKLaboklab(60.56% 0.1023 -0.1765)
OKLCHoklch(60.56% 0.204 300.1)
XYZxyz(30.9239, 19.8308, 77.7843)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BE7 #ABE75B
analogous
#5B65E7 #975BE7 #DD5BE7
triadic
#975BE7 #E7975B #5BE797
tetradic
#975BE7 #E75B65 #ABE75B #5BE7DD
square
#975BE7 #E75B65 #ABE75B #5BE7DD
split-complementary
#975BE7 #E7DD5B #65E75B
monochromatic
#5919AE #7526DF #975BE7 #B990EF #DBC6F7

Accessibility & contrast

On white

4.23
#975BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#975BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BE7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BE7#FFFFFF#000000##000000
##975BE71.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#287AE4
Tritanopia (blue-blind)
#867999
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975be7;
/* rgb */ color: rgb(151, 91, 231);
/* oklch */ color: oklch(60.6% 0.204 300.1);
Tailwind
colors: {
  custom: {
    50: '#ba8cef',
    500: '#975be7',
    950: '#000000',
  },
}
SCSS
$custom: #975be7;
$custom-light: #ba8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#975be7",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 265.714,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60559,
    "c": 0.20398,
    "h": 300.1
  },
  "luminance": 0.19831
}

Semantic roles & 50–950 ramp

primary
#975BE7
secondary
#D2E8B6
accent
#D70F81
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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