#975ED5#975ED5

#975ED5 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.8% C 0.179 H 303.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#975ED5
RGBrgb(151, 94, 213)
HSLhsl(269, 59%, 60%)
HSVhsv(269, 56%, 84%)
CMYKcmyk(29.1%, 55.9%, 0%, 16.5%)
CIE-LABlab(51.14, 46.33, -52.79)
CIE-LCHlch(51.14, 70.24, 311.27°)
OKLaboklab(59.83% 0.0988 -0.149)
OKLCHoklch(59.83% 0.179 303.6)
XYZxyz(28.7728, 19.3889, 65.1645)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975ED5 #9CD55E
analogous
#5E61D5 #975ED5 #D25ED5
triadic
#975ED5 #D5975E #5ED597
tetradic
#975ED5 #D55E61 #9CD55E #5ED5D2
square
#975ED5 #D55E61 #9CD55E #5ED5D2
split-complementary
#975ED5 #D5D25E #61D55E
monochromatic
#5A2692 #7833C3 #975ED5 #B68FE2 #D6BFEE

Accessibility & contrast

On white

4.31
#975ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#975ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975ED5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975ED5#FFFFFF#000000##000000
##975ED51.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F78D9
Deuteranopia (green-blind)
#447AD2
Tritanopia (blue-blind)
#8C7591
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975ed5;
/* rgb */ color: rgb(151, 94, 213);
/* oklch */ color: oklch(59.8% 0.179 303.6);
Tailwind
colors: {
  custom: {
    50: '#b98ee2',
    500: '#975ed5',
    950: '#000000',
  },
}
SCSS
$custom: #975ed5;
$custom-light: #b98ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#975ed5",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 268.739,
    "s": 58.621,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59834,
    "c": 0.17877,
    "h": 303.6
  },
  "luminance": 0.19389
}

Semantic roles & 50–950 ramp

primary
#975ED5
secondary
#C8DEB1
accent
#C61F76
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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