#975AE6#975AE6

#975AE6 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.204 H 300.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#975AE6
RGBrgb(151, 90, 230)
HSLhsl(266, 74%, 63%)
HSVhsv(266, 61%, 90%)
CMYKcmyk(34.3%, 60.9%, 0%, 9.8%)
CIE-LABlab(51.39, 52.59, -62.01)
CIE-LCHlch(51.39, 81.31, 310.30°)
OKLaboklab(60.35% 0.1035 -0.1761)
OKLCHoklch(60.35% 0.204 300.4)
XYZxyz(30.6981, 19.6046, 77.0143)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975AE6 #A9E65A
analogous
#5A63E6 #975AE6 #DD5AE6
triadic
#975AE6 #E6975A #5AE697
tetradic
#975AE6 #E65A63 #A9E65A #5AE6DD
square
#975AE6 #E65A63 #A9E65A #5AE6DD
split-complementary
#975AE6 #E6DD5A #63E65A
monochromatic
#591AAC #7625DE #975AE6 #B88FEE #DAC4F6

Accessibility & contrast

On white

4.27
#975AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#975AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975AE6
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975AE6#FFFFFF#000000##000000
##975AE61.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#287AE3
Tritanopia (blue-blind)
#867898
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975ae6;
/* rgb */ color: rgb(151, 90, 230);
/* oklch */ color: oklch(60.4% 0.204 300.4);
Tailwind
colors: {
  custom: {
    50: '#ba8bef',
    500: '#975ae6',
    950: '#000000',
  },
}
SCSS
$custom: #975ae6;
$custom-light: #ba8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#975ae6",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 266.143,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6035,
    "c": 0.2042,
    "h": 300.4
  },
  "luminance": 0.19605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #975AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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