#975EC9#975EC9

#975EC9 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.1% C 0.165 H 306.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#975EC9
RGBrgb(151, 94, 201)
HSLhsl(272, 50%, 58%)
HSVhsv(272, 53%, 79%)
CMYKcmyk(24.9%, 53.2%, 0%, 21.2%)
CIE-LABlab(50.45, 43.48, -47.02)
CIE-LCHlch(50.45, 64.04, 312.76°)
OKLaboklab(59.11% 0.0983 -0.1321)
OKLCHoklch(59.11% 0.165 306.6)
XYZxyz(27.3056, 18.8020, 57.4377)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EC9 #90C95E
analogous
#625EC9 #975EC9 #C95EC5
triadic
#975EC9 #C9975E #5EC997
tetradic
#975EC9 #C9625E #90C95E #5EC5C9
square
#975EC9 #C9625E #90C95E #5EC5C9
split-complementary
#975EC9 #C5C95E #5EC962
monochromatic
#592B81 #793BAF #975EC9 #B58CD8 #D2BAE8

Accessibility & contrast

On white

4.41
#975EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#975EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975EC9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EC9#FFFFFF#000000##000000
##975EC91.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C76CD
Deuteranopia (green-blind)
#4E79C6
Tritanopia (blue-blind)
#8F718B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975ec9;
/* rgb */ color: rgb(151, 94, 201);
/* oklch */ color: oklch(59.1% 0.165 306.6);
Tailwind
colors: {
  custom: {
    50: '#b88dda',
    500: '#975ec9',
    950: '#000000',
  },
}
SCSS
$custom: #975ec9;
$custom-light: #b88dda;
$custom-dark: #000000;
JSON
{
  "hex": "#975ec9",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 201
  },
  "hsl": {
    "h": 271.963,
    "s": 49.767,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59109,
    "c": 0.16465,
    "h": 306.6
  },
  "luminance": 0.18802
}

Semantic roles & 50–950 ramp

primary
#975EC9
secondary
#C0D7AC
accent
#D94F8F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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