#975AEC#975AEC

#975AEC is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.8% C 0.211 H 299.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#975AEC
RGBrgb(151, 90, 236)
HSLhsl(265, 79%, 64%)
HSVhsv(265, 62%, 93%)
CMYKcmyk(36%, 61.9%, 0%, 7.5%)
CIE-LABlab(51.78, 54.07, -64.75)
CIE-LCHlch(51.78, 84.36, 309.86°)
OKLaboklab(60.76% 0.1031 -0.1841)
OKLCHoklch(60.76% 0.211 299.3)
XYZxyz(31.5552, 19.9474, 81.5284)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975AEC #AFEC5A
analogous
#5A66EC #975AEC #E05AEC
triadic
#975AEC #EC975A #5AEC97
tetradic
#975AEC #EC5A66 #AFEC5A #5AECE0
square
#975AEC #EC5A66 #AFEC5A #5AECE0
split-complementary
#975AEC #ECE05A #66EC5A
monochromatic
#5915B7 #7423E6 #975AEC #BA91F2 #DCC8F9

Accessibility & contrast

On white

4.21
#975AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#975AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975AEC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975AEC#FFFFFF#000000##000000
##975AEC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#1A7AE9
Tritanopia (blue-blind)
#847A9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975aec;
/* rgb */ color: rgb(151, 90, 236);
/* oklch */ color: oklch(60.8% 0.211 299.3);
Tailwind
colors: {
  custom: {
    50: '#bb8cf3',
    500: '#975aec',
    950: '#000000',
  },
}
SCSS
$custom: #975aec;
$custom-light: #bb8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#975aec",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 265.068,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60758,
    "c": 0.21103,
    "h": 299.3
  },
  "luminance": 0.19948
}

Semantic roles & 50–950 ramp

primary
#975AEC
secondary
#D5EBB7
accent
#DC0A84
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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