#975DC5#975DC5

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

Color values

HEX#975DC5
RGBrgb(151, 93, 197)
HSLhsl(273, 47%, 57%)
HSVhsv(273, 53%, 77%)
CMYKcmyk(23.4%, 52.8%, 0%, 22.7%)
CIE-LABlab(50.02, 43.09, -45.41)
CIE-LCHlch(50.02, 62.60, 313.50°)
OKLaboklab(58.72% 0.0993 -0.1274)
OKLCHoklch(58.72% 0.162 307.9)
XYZxyz(26.7529, 18.4396, 54.9623)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DC5 #8BC55D
analogous
#635DC5 #975DC5 #C55DBF
triadic
#975DC5 #C5975D #5DC597
tetradic
#975DC5 #C5635D #8BC55D #5DBFC5
square
#975DC5 #C5635D #8BC55D #5DBFC5
split-complementary
#975DC5 #BFC55D #5DC563
monochromatic
#582C7B #793CA8 #975DC5 #B48AD5 #D1B7E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##975DC5#FFFFFF#000000##000000
##975DC51.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)
#3E75C9
Deuteranopia (green-blind)
#5078C2
Tritanopia (blue-blind)
#906F88
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #975dc5;
/* rgb */ color: rgb(151, 93, 197);
/* oklch */ color: oklch(58.7% 0.162 307.9);
Tailwind
colors: {
  custom: {
    50: '#b88dd7',
    500: '#975dc5',
    950: '#000000',
  },
}
SCSS
$custom: #975dc5;
$custom-light: #b88dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#975dc5",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 197
  },
  "hsl": {
    "h": 273.462,
    "s": 47.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5872,
    "c": 0.16153,
    "h": 307.9
  },
  "luminance": 0.18439
}

Semantic roles & 50–950 ramp

primary
#975DC5
secondary
#BCD4AA
accent
#D7518C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #975DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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