#975DC7#975DC7

#975DC7 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.8% C 0.164 H 307.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#975DC7
RGBrgb(151, 93, 199)
HSLhsl(273, 49%, 57%)
HSVhsv(273, 53%, 78%)
CMYKcmyk(24.1%, 53.3%, 0%, 22%)
CIE-LABlab(50.13, 43.55, -46.38)
CIE-LCHlch(50.13, 63.63, 313.20°)
OKLaboklab(58.84% 0.0995 -0.1302)
OKLCHoklch(58.84% 0.164 307.4)
XYZxyz(26.9836, 18.5318, 56.1772)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DC7 #8DC75D
analogous
#625DC7 #975DC7 #C75DC2
triadic
#975DC7 #C7975D #5DC797
tetradic
#975DC7 #C7625D #8DC75D #5DC2C7
square
#975DC7 #C7625D #8DC75D #5DC2C7
split-complementary
#975DC7 #C2C75D #5DC762
monochromatic
#592C7E #793BAC #975DC7 #B48AD7 #D1B8E6

Accessibility & contrast

On white

4.46
#975DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#975DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DC7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DC7#FFFFFF#000000##000000
##975DC71.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C75CB
Deuteranopia (green-blind)
#4F78C4
Tritanopia (blue-blind)
#907089
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #975dc7;
/* rgb */ color: rgb(151, 93, 199);
/* oklch */ color: oklch(58.8% 0.164 307.4);
Tailwind
colors: {
  custom: {
    50: '#b88dd8',
    500: '#975dc7',
    950: '#000000',
  },
}
SCSS
$custom: #975dc7;
$custom-light: #b88dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#975dc7",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 272.83,
    "s": 48.624,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58837,
    "c": 0.16387,
    "h": 307.4
  },
  "luminance": 0.18532
}

Semantic roles & 50–950 ramp

primary
#975DC7
secondary
#BED5AA
accent
#D8508D
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #975DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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