#975AE8#975AE8

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

Color values

HEX#975AE8
RGBrgb(151, 90, 232)
HSLhsl(266, 76%, 63%)
HSVhsv(266, 61%, 91%)
CMYKcmyk(34.9%, 61.2%, 0%, 9%)
CIE-LABlab(51.52, 53.08, -62.93)
CIE-LCHlch(51.52, 82.33, 310.15°)
OKLaboklab(60.49% 0.1034 -0.1787)
OKLCHoklch(60.49% 0.206 300)
XYZxyz(30.9806, 19.7176, 78.5020)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975AE8 #ABE85A
analogous
#5A64E8 #975AE8 #DE5AE8
triadic
#975AE8 #E8975A #5AE897
tetradic
#975AE8 #E85A64 #ABE85A #5AE8DE
square
#975AE8 #E85A64 #ABE85A #5AE8DE
split-complementary
#975AE8 #E8DE5A #64E85A
monochromatic
#5918AF #7524E1 #975AE8 #B990EF #DBC5F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##975AE8#FFFFFF#000000##000000
##975AE81.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)
#007AEC
Deuteranopia (green-blind)
#247AE5
Tritanopia (blue-blind)
#857999
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975ae8;
/* rgb */ color: rgb(151, 90, 232);
/* oklch */ color: oklch(60.5% 0.206 300.0);
Tailwind
colors: {
  custom: {
    50: '#ba8bf0',
    500: '#975ae8',
    950: '#000000',
  },
}
SCSS
$custom: #975ae8;
$custom-light: #ba8bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#975ae8",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 265.775,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60485,
    "c": 0.20648,
    "h": 300
  },
  "luminance": 0.19718
}

Semantic roles & 50–950 ramp

primary
#975AE8
secondary
#D2E8B5
accent
#D80E81
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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