#975BEE#975BEE

#975BEE is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.0% C 0.212 H 298.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#975BEE
RGBrgb(151, 91, 238)
HSLhsl(264, 81%, 65%)
HSVhsv(264, 62%, 93%)
CMYKcmyk(36.6%, 61.8%, 0%, 6.7%)
CIE-LABlab(52.10, 54.05, -65.35)
CIE-LCHlch(52.10, 84.81, 309.59°)
OKLaboklab(61.03% 0.1019 -0.1859)
OKLCHoklch(61.03% 0.212 298.7)
XYZxyz(31.9324, 20.2341, 83.0956)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975BEE #B2EE5B
analogous
#5B69EE #975BEE #E15BEE
triadic
#975BEE #EE975B #5BEE97
tetradic
#975BEE #EE5B69 #B2EE5B #5BEEE1
square
#975BEE #EE5B69 #B2EE5B #5BEEE1
split-complementary
#975BEE #EEE15B #69EE5B
monochromatic
#5813BB #7424E8 #975BEE #BA92F4 #DDCAF9

Accessibility & contrast

On white

4.16
#975BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#975BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975BEE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975BEE#FFFFFF#000000##000000
##975BEE1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#177BEB
Tritanopia (blue-blind)
#837B9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #975bee;
/* rgb */ color: rgb(151, 91, 238);
/* oklch */ color: oklch(61.0% 0.212 298.7);
Tailwind
colors: {
  custom: {
    50: '#bb8cf4',
    500: '#975bee',
    950: '#000000',
  },
}
SCSS
$custom: #975bee;
$custom-light: #bb8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#975bee",
  "rgb": {
    "r": 151,
    "g": 91,
    "b": 238
  },
  "hsl": {
    "h": 264.49,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61034,
    "c": 0.21197,
    "h": 298.7
  },
  "luminance": 0.20235
}

Semantic roles & 50–950 ramp

primary
#975BEE
secondary
#D7ECB9
accent
#DE0886
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #975BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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