#975AE1#975AE1

#975AE1 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 60.0% C 0.198 H 301.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#975AE1
RGBrgb(151, 90, 225)
HSLhsl(267, 69%, 62%)
HSVhsv(267, 60%, 88%)
CMYKcmyk(32.9%, 60%, 0%, 11.8%)
CIE-LABlab(51.07, 51.37, -59.70)
CIE-LCHlch(51.07, 78.76, 310.71°)
OKLaboklab(60.02% 0.1037 -0.1693)
OKLCHoklch(60.02% 0.198 301.5)
XYZxyz(30.0061, 19.3278, 73.3694)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975AE1 #A4E15A
analogous
#5A61E1 #975AE1 #DB5AE1
triadic
#975AE1 #E1975A #5AE197
tetradic
#975AE1 #E15A61 #A4E15A #5AE1DB
square
#975AE1 #E15A61 #A4E15A #5AE1DB
split-complementary
#975AE1 #E1DB5A #61E15A
monochromatic
#5A1EA3 #7627D7 #975AE1 #B88EEA #D8C2F4

Accessibility & contrast

On white

4.32
#975AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#975AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975AE1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975AE1#FFFFFF#000000##000000
##975AE11.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0279E5
Deuteranopia (green-blind)
#3079DE
Tritanopia (blue-blind)
#887695
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975ae1;
/* rgb */ color: rgb(151, 90, 225);
/* oklch */ color: oklch(60.0% 0.198 301.5);
Tailwind
colors: {
  custom: {
    50: '#ba8beb',
    500: '#975ae1',
    950: '#000000',
  },
}
SCSS
$custom: #975ae1;
$custom-light: #ba8beb;
$custom-dark: #000000;
JSON
{
  "hex": "#975ae1",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 225
  },
  "hsl": {
    "h": 267.111,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60017,
    "c": 0.19849,
    "h": 301.5
  },
  "luminance": 0.19328
}

Semantic roles & 50–950 ramp

primary
#975AE1
secondary
#CEE4B2
accent
#D1147C
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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