#975EC7#975EC7

#975EC7 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.0% C 0.162 H 307.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#975EC7
RGBrgb(151, 94, 199)
HSLhsl(273, 48%, 57%)
HSVhsv(273, 53%, 78%)
CMYKcmyk(24.1%, 52.8%, 0%, 22%)
CIE-LABlab(50.34, 43.01, -46.05)
CIE-LCHlch(50.34, 63.01, 313.04°)
OKLaboklab(58.99% 0.0981 -0.1293)
OKLCHoklch(58.99% 0.162 307.2)
XYZxyz(27.0719, 18.7085, 56.2067)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EC7 #8EC75E
analogous
#625EC7 #975EC7 #C75EC3
triadic
#975EC7 #C7975E #5EC797
tetradic
#975EC7 #C7625E #8EC75E #5EC3C7
square
#975EC7 #C7625E #8EC75E #5EC3C7
split-complementary
#975EC7 #C3C75E #5EC762
monochromatic
#592C7F #793CAC #975EC7 #B48BD7 #D2B9E7

Accessibility & contrast

On white

4.43
#975EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#975EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975EC7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EC7#FFFFFF#000000##000000
##975EC71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E76CB
Deuteranopia (green-blind)
#5078C4
Tritanopia (blue-blind)
#90718A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975ec7;
/* rgb */ color: rgb(151, 94, 199);
/* oklch */ color: oklch(59.0% 0.162 307.2);
Tailwind
colors: {
  custom: {
    50: '#b88dd8',
    500: '#975ec7',
    950: '#000000',
  },
}
SCSS
$custom: #975ec7;
$custom-light: #b88dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#975ec7",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 272.571,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58992,
    "c": 0.16229,
    "h": 307.2
  },
  "luminance": 0.18708
}

Semantic roles & 50–950 ramp

primary
#975EC7
secondary
#BFD6AB
accent
#D8508E
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #975EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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