#975AE5#975AE5

#975AE5 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.203 H 300.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#975AE5
RGBrgb(151, 90, 229)
HSLhsl(266, 73%, 63%)
HSVhsv(266, 61%, 90%)
CMYKcmyk(34.1%, 60.7%, 0%, 10.2%)
CIE-LABlab(51.32, 52.35, -61.55)
CIE-LCHlch(51.32, 80.80, 310.38°)
OKLaboklab(60.28% 0.1035 -0.1747)
OKLCHoklch(60.28% 0.203 300.6)
XYZxyz(30.5581, 19.5486, 76.2769)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975AE5 #A8E55A
analogous
#5A62E5 #975AE5 #DD5AE5
triadic
#975AE5 #E5975A #5AE597
tetradic
#975AE5 #E55A62 #A8E55A #5AE5DD
square
#975AE5 #E55A62 #A8E55A #5AE5DD
split-complementary
#975AE5 #E5DD5A #62E55A
monochromatic
#5A1BAA #7625DD #975AE5 #B88FED #DAC4F6

Accessibility & contrast

On white

4.28
#975AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#975AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975AE5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975AE5#FFFFFF#000000##000000
##975AE51.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#2A79E2
Tritanopia (blue-blind)
#877897
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975ae5;
/* rgb */ color: rgb(151, 90, 229);
/* oklch */ color: oklch(60.3% 0.203 300.6);
Tailwind
colors: {
  custom: {
    50: '#ba8bee',
    500: '#975ae5',
    950: '#000000',
  },
}
SCSS
$custom: #975ae5;
$custom-light: #ba8bee;
$custom-dark: #000000;
JSON
{
  "hex": "#975ae5",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 266.331,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60283,
    "c": 0.20306,
    "h": 300.6
  },
  "luminance": 0.19549
}

Semantic roles & 50–950 ramp

primary
#975AE5
secondary
#D0E7B4
accent
#D5117F
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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