#975AE7#975AE7

#975AE7 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.205 H 300.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#975AE7
RGBrgb(151, 90, 231)
HSLhsl(266, 75%, 63%)
HSVhsv(266, 61%, 91%)
CMYKcmyk(34.6%, 61%, 0%, 9.4%)
CIE-LABlab(51.45, 52.84, -62.47)
CIE-LCHlch(51.45, 81.82, 310.22°)
OKLaboklab(60.42% 0.1034 -0.1774)
OKLCHoklch(60.42% 0.205 300.2)
XYZxyz(30.8390, 19.6609, 77.7560)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975AE7 #AAE75A
analogous
#5A64E7 #975AE7 #DD5AE7
triadic
#975AE7 #E7975A #5AE797
tetradic
#975AE7 #E75A64 #AAE75A #5AE7DD
square
#975AE7 #E75A64 #AAE75A #5AE7DD
split-complementary
#975AE7 #E7DD5A #64E75A
monochromatic
#5919AD #7525DF #975AE7 #B98FEF #DAC5F7

Accessibility & contrast

On white

4.26
#975AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#975AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975AE7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975AE7#FFFFFF#000000##000000
##975AE71.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#267AE4
Tritanopia (blue-blind)
#867898
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975ae7;
/* rgb */ color: rgb(151, 90, 231);
/* oklch */ color: oklch(60.4% 0.205 300.2);
Tailwind
colors: {
  custom: {
    50: '#ba8bef',
    500: '#975ae7',
    950: '#000000',
  },
}
SCSS
$custom: #975ae7;
$custom-light: #ba8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#975ae7",
  "rgb": {
    "r": 151,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 265.957,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60418,
    "c": 0.20534,
    "h": 300.2
  },
  "luminance": 0.19661
}

Semantic roles & 50–950 ramp

primary
#975AE7
secondary
#D2E8B5
accent
#D70F80
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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