#975CEA#975CEA

#975CEA is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.9% C 0.206 H 299.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#975CEA
RGBrgb(151, 92, 234)
HSLhsl(265, 77%, 64%)
HSVhsv(265, 61%, 92%)
CMYKcmyk(35.5%, 60.7%, 0%, 8.2%)
CIE-LABlab(52.03, 52.54, -63.22)
CIE-LCHlch(52.03, 82.20, 309.73°)
OKLaboklab(60.9% 0.101 -0.1796)
OKLCHoklch(60.9% 0.206 299.3)
XYZxyz(31.4373, 20.1738, 80.0636)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975CEA #AFEA5C
analogous
#5C68EA #975CEA #DE5CEA
triadic
#975CEA #EA975C #5CEA97
tetradic
#975CEA #EA5C68 #AFEA5C #5CEADE
square
#975CEA #EA5C68 #AFEA5C #5CEADE
split-complementary
#975CEA #EADE5C #68EA5C
monochromatic
#5917B4 #7426E3 #975CEA #BA92F1 #DCC8F8

Accessibility & contrast

On white

4.17
#975CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#975CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975CEA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975CEA#FFFFFF#000000##000000
##975CEA1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#257BE7
Tritanopia (blue-blind)
#857B9B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #975cea;
/* rgb */ color: rgb(151, 92, 234);
/* oklch */ color: oklch(60.9% 0.206 299.3);
Tailwind
colors: {
  custom: {
    50: '#bb8df1',
    500: '#975cea',
    950: '#000000',
  },
}
SCSS
$custom: #975cea;
$custom-light: #bb8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#975cea",
  "rgb": {
    "r": 151,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 264.93,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60902,
    "c": 0.20605,
    "h": 299.3
  },
  "luminance": 0.20174
}

Semantic roles & 50–950 ramp

primary
#975CEA
secondary
#D5EAB8
accent
#D90C84
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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