#975EC1#975EC1

#975EC1 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.6% C 0.155 H 309.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#975EC1
RGBrgb(151, 94, 193)
HSLhsl(275, 44%, 56%)
HSVhsv(275, 51%, 76%)
CMYKcmyk(21.8%, 51.3%, 0%, 24.3%)
CIE-LABlab(50.02, 41.62, -43.11)
CIE-LCHlch(50.02, 59.92, 313.99°)
OKLaboklab(58.65% 0.0976 -0.1207)
OKLCHoklch(58.65% 0.155 309)
XYZxyz(26.3890, 18.4354, 52.6099)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EC1 #88C15E
analogous
#665EC1 #975EC1 #C15EBA
triadic
#975EC1 #C1975E #5EC197
tetradic
#975EC1 #C1665E #88C15E #5EBAC1
square
#975EC1 #C1665E #88C15E #5EBAC1
split-complementary
#975EC1 #BAC15E #5EC166
monochromatic
#582E77 #783FA3 #975EC1 #B48AD2 #D0B6E3

Accessibility & contrast

On white

4.48
#975EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#975EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975EC1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EC1#FFFFFF#000000##000000
##975EC11.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4375C4
Deuteranopia (green-blind)
#5478BE
Tritanopia (blue-blind)
#916F87
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #975ec1;
/* rgb */ color: rgb(151, 94, 193);
/* oklch */ color: oklch(58.6% 0.155 309.0);
Tailwind
colors: {
  custom: {
    50: '#b88dd4',
    500: '#975ec1',
    950: '#000000',
  },
}
SCSS
$custom: #975ec1;
$custom-light: #b88dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#975ec1",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 193
  },
  "hsl": {
    "h": 274.545,
    "s": 44.395,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58647,
    "c": 0.15523,
    "h": 309
  },
  "luminance": 0.18435
}

Semantic roles & 50–950 ramp

primary
#975EC1
secondary
#BAD2A9
accent
#D4548A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #975EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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