#975BEA#975BEA

#975BEA is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.8% C 0.207 H 299.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#975BEA
RGBrgb(151, 91, 234)
HSLhsl(265, 77%, 64%)
HSVhsv(265, 61%, 92%)
CMYKcmyk(35.5%, 61.1%, 0%, 8.2%)
CIE-LABlab(51.84, 53.06, -63.53)
CIE-LCHlch(51.84, 82.77, 309.87°)
OKLaboklab(60.76% 0.1021 -0.1805)
OKLCHoklch(60.76% 0.207 299.5)
XYZxyz(31.3512, 20.0017, 80.0349)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BEA #AEEA5B
analogous
#5B66EA #975BEA #DE5BEA
triadic
#975BEA #EA975B #5BEA97
tetradic
#975BEA #EA5B66 #AEEA5B #5BEADE
square
#975BEA #EA5B66 #AEEA5B #5BEADE
split-complementary
#975BEA #EADE5B #66EA5B
monochromatic
#5917B4 #7525E3 #975BEA #B991F1 #DCC8F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##975BEA#FFFFFF#000000##000000
##975BEA1.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)
#007BEF
Deuteranopia (green-blind)
#227AE7
Tritanopia (blue-blind)
#857A9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #975bea;
/* rgb */ color: rgb(151, 91, 234);
/* oklch */ color: oklch(60.8% 0.207 299.5);
Tailwind
colors: {
  custom: {
    50: '#bb8cf1',
    500: '#975bea',
    950: '#000000',
  },
}
SCSS
$custom: #975bea;
$custom-light: #bb8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#975bea",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 265.175,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60761,
    "c": 0.2074,
    "h": 299.5
  },
  "luminance": 0.20002
}

Semantic roles & 50–950 ramp

primary
#975BEA
secondary
#D4EAB7
accent
#DA0C83
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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