#975EE7#975EE7

#975EE7 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 61.0% C 0.200 H 299.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#975EE7
RGBrgb(151, 94, 231)
HSLhsl(265, 74%, 64%)
HSVhsv(265, 59%, 91%)
CMYKcmyk(34.6%, 59.3%, 0%, 9.4%)
CIE-LABlab(52.24, 50.74, -61.21)
CIE-LCHlch(52.24, 79.51, 309.66°)
OKLaboklab(60.99% 0.0988 -0.1737)
OKLCHoklch(60.99% 0.2 299.6)
XYZxyz(31.1855, 20.3540, 77.8715)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EE7 #AEE75E
analogous
#5E69E7 #975EE7 #DC5EE7
triadic
#975EE7 #E7975E #5EE797
tetradic
#975EE7 #E75E69 #AEE75E #5EE7DC
square
#975EE7 #E75E69 #AEE75E #5EE7DC
split-complementary
#975EE7 #E7DC5E #69E75E
monochromatic
#591AB0 #7529DF #975EE7 #B993EF #DCC9F7

Accessibility & contrast

On white

4.14
#975EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#975EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975EE7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EE7#FFFFFF#000000##000000
##975EE71.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#047CEB
Deuteranopia (green-blind)
#2E7CE4
Tritanopia (blue-blind)
#867B9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #975ee7;
/* rgb */ color: rgb(151, 94, 231);
/* oklch */ color: oklch(61.0% 0.200 299.6);
Tailwind
colors: {
  custom: {
    50: '#ba8eef',
    500: '#975ee7',
    950: '#000000',
  },
}
SCSS
$custom: #975ee7;
$custom-light: #ba8eef;
$custom-dark: #000000;
JSON
{
  "hex": "#975ee7",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 264.964,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60988,
    "c": 0.19982,
    "h": 299.6
  },
  "luminance": 0.20354
}

Semantic roles & 50–950 ramp

primary
#975EE7
secondary
#D4E9B8
accent
#D60F83
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #975EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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