#975EE1#975EE1

#975EE1 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.6% C 0.193 H 300.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#975EE1
RGBrgb(151, 94, 225)
HSLhsl(266, 69%, 63%)
HSVhsv(266, 58%, 88%)
CMYKcmyk(32.9%, 58.2%, 0%, 11.8%)
CIE-LABlab(51.86, 49.26, -58.43)
CIE-LCHlch(51.86, 76.42, 310.13°)
OKLaboklab(60.6% 0.0989 -0.1655)
OKLCHoklch(60.6% 0.193 300.9)
XYZxyz(30.3526, 20.0208, 73.4849)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EE1 #A8E15E
analogous
#5E66E1 #975EE1 #D85EE1
triadic
#975EE1 #E1975E #5EE197
tetradic
#975EE1 #E15E66 #A8E15E #5EE1D8
square
#975EE1 #E15E66 #A8E15E #5EE1D8
split-complementary
#975EE1 #E1D85E #66E15E
monochromatic
#5A1FA6 #762AD7 #975EE1 #B892EB #DAC5F4

Accessibility & contrast

On white

4.20
#975EE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#975EE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975EE1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EE1#FFFFFF#000000##000000
##975EE11.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7BE5
Deuteranopia (green-blind)
#377BDE
Tritanopia (blue-blind)
#887997
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #975ee1;
/* rgb */ color: rgb(151, 94, 225);
/* oklch */ color: oklch(60.6% 0.193 300.9);
Tailwind
colors: {
  custom: {
    50: '#ba8eeb',
    500: '#975ee1',
    950: '#000000',
  },
}
SCSS
$custom: #975ee1;
$custom-light: #ba8eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#975ee1",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 225
  },
  "hsl": {
    "h": 266.107,
    "s": 68.586,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60595,
    "c": 0.19283,
    "h": 300.9
  },
  "luminance": 0.20021
}

Semantic roles & 50–950 ramp

primary
#975EE1
secondary
#D0E5B6
accent
#D1157F
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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