#975AEB#975AEB

#975AEB is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.7% C 0.210 H 299.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#975AEB
RGBrgb(151, 90, 235)
HSLhsl(265, 78%, 64%)
HSVhsv(265, 62%, 92%)
CMYKcmyk(35.7%, 61.7%, 0%, 7.8%)
CIE-LABlab(51.71, 53.82, -64.30)
CIE-LCHlch(51.71, 83.85, 309.93°)
OKLaboklab(60.69% 0.1032 -0.1828)
OKLCHoklch(60.69% 0.21 299.4)
XYZxyz(31.4104, 19.8895, 80.7654)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975AEB #AEEB5A
analogous
#5A65EB #975AEB #DF5AEB
triadic
#975AEB #EB975A #5AEB97
tetradic
#975AEB #EB5A65 #AEEB5A #5AEBDF
square
#975AEB #EB5A65 #AEEB5A #5AEBDF
split-complementary
#975AEB #EBDF5A #65EB5A
monochromatic
#5916B5 #7523E4 #975AEB #B991F2 #DCC7F8

Accessibility & contrast

On white

4.22
#975AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#975AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975AEB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975AEB#FFFFFF#000000##000000
##975AEB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#1D7AE8
Tritanopia (blue-blind)
#847A9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975aeb;
/* rgb */ color: rgb(151, 90, 235);
/* oklch */ color: oklch(60.7% 0.210 299.4);
Tailwind
colors: {
  custom: {
    50: '#bb8cf2',
    500: '#975aeb',
    950: '#000000',
  },
}
SCSS
$custom: #975aeb;
$custom-light: #bb8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#975aeb",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 265.241,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6069,
    "c": 0.20989,
    "h": 299.4
  },
  "luminance": 0.1989
}

Semantic roles & 50–950 ramp

primary
#975AEB
secondary
#D4EAB7
accent
#DB0B83
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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