#975BE4#975BE4

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

Color values

HEX#975BE4
RGBrgb(151, 91, 228)
HSLhsl(266, 72%, 63%)
HSVhsv(266, 60%, 89%)
CMYKcmyk(33.8%, 60.1%, 0%, 10.6%)
CIE-LABlab(51.45, 51.58, -60.78)
CIE-LCHlch(51.45, 79.71, 310.32°)
OKLaboklab(60.36% 0.1024 -0.1724)
OKLCHoklch(60.36% 0.201 300.7)
XYZxyz(30.5038, 19.6627, 75.5720)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BE4 #A8E45B
analogous
#5B64E4 #975BE4 #DB5BE4
triadic
#975BE4 #E4975B #5BE497
tetradic
#975BE4 #E45B64 #A8E45B #5BE4DB
square
#975BE4 #E45B64 #A8E45B #5BE4DB
split-complementary
#975BE4 #E4DB5B #64E45B
monochromatic
#5A1CA9 #7626DB #975BE4 #B890ED #DAC4F5

Accessibility & contrast

On white

4.26
#975BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#975BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BE4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BE4#FFFFFF#000000##000000
##975BE41.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#2E7AE1
Tritanopia (blue-blind)
#877897
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975be4;
/* rgb */ color: rgb(151, 91, 228);
/* oklch */ color: oklch(60.4% 0.201 300.7);
Tailwind
colors: {
  custom: {
    50: '#ba8ced',
    500: '#975be4',
    950: '#000000',
  },
}
SCSS
$custom: #975be4;
$custom-light: #ba8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#975be4",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 228
  },
  "hsl": {
    "h": 266.277,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60358,
    "c": 0.20054,
    "h": 300.7
  },
  "luminance": 0.19663
}

Semantic roles & 50–950 ramp

primary
#975BE4
secondary
#D0E6B4
accent
#D4127F
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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