#975EE5#975EE5

#975EE5 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.9% C 0.198 H 300.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#975EE5
RGBrgb(151, 94, 229)
HSLhsl(265, 72%, 63%)
HSVhsv(265, 59%, 90%)
CMYKcmyk(34.1%, 59%, 0%, 10.2%)
CIE-LABlab(52.11, 50.25, -60.29)
CIE-LCHlch(52.11, 78.48, 309.81°)
OKLaboklab(60.86% 0.0988 -0.171)
OKLCHoklch(60.86% 0.198 300)
XYZxyz(30.9046, 20.2416, 76.3924)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EE5 #ACE55E
analogous
#5E68E5 #975EE5 #DA5EE5
triadic
#975EE5 #E5975E #5EE597
tetradic
#975EE5 #E55E68 #ACE55E #5EE5DA
square
#975EE5 #E55E68 #ACE55E #5EE5DA
split-complementary
#975EE5 #E5DA5E #68E55E
monochromatic
#591CAD #7529DC #975EE5 #B993EE #DBC7F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##975EE5#FFFFFF#000000##000000
##975EE51.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)
#0E7CE9
Deuteranopia (green-blind)
#327BE2
Tritanopia (blue-blind)
#867A99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #975ee5;
/* rgb */ color: rgb(151, 94, 229);
/* oklch */ color: oklch(60.9% 0.198 300.0);
Tailwind
colors: {
  custom: {
    50: '#ba8eee',
    500: '#975ee5',
    950: '#000000',
  },
}
SCSS
$custom: #975ee5;
$custom-light: #ba8eee;
$custom-dark: #000000;
JSON
{
  "hex": "#975ee5",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 229
  },
  "hsl": {
    "h": 265.333,
    "s": 72.193,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60856,
    "c": 0.1975,
    "h": 300
  },
  "luminance": 0.20242
}

Semantic roles & 50–950 ramp

primary
#975EE5
secondary
#D3E7B7
accent
#D41182
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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