#975AE4#975AE4

#975AE4 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.2% C 0.202 H 300.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#975AE4
RGBrgb(151, 90, 228)
HSLhsl(267, 72%, 62%)
HSVhsv(267, 61%, 89%)
CMYKcmyk(33.8%, 60.5%, 0%, 10.6%)
CIE-LABlab(51.26, 52.10, -61.09)
CIE-LCHlch(51.26, 80.29, 310.46°)
OKLaboklab(60.22% 0.1036 -0.1733)
OKLCHoklch(60.22% 0.202 300.9)
XYZxyz(30.4189, 19.4929, 75.5437)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975AE4 #A7E45A
analogous
#5A62E4 #975AE4 #DC5AE4
triadic
#975AE4 #E4975A #5AE497
tetradic
#975AE4 #E45A62 #A7E45A #5AE4DC
square
#975AE4 #E45A62 #A7E45A #5AE4DC
split-complementary
#975AE4 #E4DC5A #62E45A
monochromatic
#5A1CA8 #7625DB #975AE4 #B88FED #D9C3F5

Accessibility & contrast

On white

4.29
#975AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#975AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975AE4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975AE4#FFFFFF#000000##000000
##975AE41.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#2C79E1
Tritanopia (blue-blind)
#877797
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975ae4;
/* rgb */ color: rgb(151, 90, 228);
/* oklch */ color: oklch(60.2% 0.202 300.9);
Tailwind
colors: {
  custom: {
    50: '#ba8bed',
    500: '#975ae4',
    950: '#000000',
  },
}
SCSS
$custom: #975ae4;
$custom-light: #ba8bed;
$custom-dark: #000000;
JSON
{
  "hex": "#975ae4",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 228
  },
  "hsl": {
    "h": 266.522,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60216,
    "c": 0.20192,
    "h": 300.9
  },
  "luminance": 0.19493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #975AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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