#975EEA#975EEA

#975EEA is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.2% C 0.203 H 299.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#975EEA
RGBrgb(151, 94, 234)
HSLhsl(264, 77%, 64%)
HSVhsv(264, 60%, 92%)
CMYKcmyk(35.5%, 59.8%, 0%, 8.2%)
CIE-LABlab(52.43, 51.49, -62.59)
CIE-LCHlch(52.43, 81.05, 309.44°)
OKLaboklab(61.19% 0.0987 -0.1777)
OKLCHoklch(61.19% 0.203 299)
XYZxyz(31.6128, 20.5249, 80.1221)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EEA #B1EA5E
analogous
#5E6BEA #975EEA #DD5EEA
triadic
#975EEA #EA975E #5EEA97
tetradic
#975EEA #EA5E6B #B1EA5E #5EEADD
square
#975EEA #EA5E6B #B1EA5E #5EEADD
split-complementary
#975EEA #EADD5E #6BEA5E
monochromatic
#5818B6 #7428E3 #975EEA #BA94F1 #DDCAF8

Accessibility & contrast

On white

4.11
#975EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#975EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975EEA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EEA#FFFFFF#000000##000000
##975EEA1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#297CE7
Tritanopia (blue-blind)
#857C9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #975eea;
/* rgb */ color: rgb(151, 94, 234);
/* oklch */ color: oklch(61.2% 0.203 299.0);
Tailwind
colors: {
  custom: {
    50: '#ba8ef1',
    500: '#975eea',
    950: '#000000',
  },
}
SCSS
$custom: #975eea;
$custom-light: #ba8ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#975eea",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 264.429,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61188,
    "c": 0.2033,
    "h": 299
  },
  "luminance": 0.20525
}

Semantic roles & 50–950 ramp

primary
#975EEA
secondary
#D6EABA
accent
#D90C86
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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