#975FC7#975FC7

#975FC7 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.1% C 0.161 H 307.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#975FC7
RGBrgb(151, 95, 199)
HSLhsl(272, 48%, 58%)
HSVhsv(272, 52%, 78%)
CMYKcmyk(24.1%, 52.3%, 0%, 22%)
CIE-LABlab(50.56, 42.46, -45.72)
CIE-LCHlch(50.56, 62.39, 312.89°)
OKLaboklab(59.15% 0.0968 -0.1283)
OKLCHoklch(59.15% 0.161 307)
XYZxyz(27.1614, 18.8875, 56.2365)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FC7 #8FC75F
analogous
#635FC7 #975FC7 #C75FC3
triadic
#975FC7 #C7975F #5FC797
tetradic
#975FC7 #C7635F #8FC75F #5FC3C7
square
#975FC7 #C7635F #8FC75F #5FC3C7
split-complementary
#975FC7 #C3C75F #5FC763
monochromatic
#592C7F #793CAC #975FC7 #B48CD7 #D2BAE7

Accessibility & contrast

On white

4.40
#975FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#975FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FC7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FC7#FFFFFF#000000##000000
##975FC71.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4076CB
Deuteranopia (green-blind)
#5179C4
Tritanopia (blue-blind)
#90718A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975fc7;
/* rgb */ color: rgb(151, 95, 199);
/* oklch */ color: oklch(59.1% 0.161 307.0);
Tailwind
colors: {
  custom: {
    50: '#b88ed8',
    500: '#975fc7',
    950: '#000000',
  },
}
SCSS
$custom: #975fc7;
$custom-light: #b88ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#975fc7",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 272.308,
    "s": 48.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59148,
    "c": 0.16069,
    "h": 307
  },
  "luminance": 0.18887
}

Semantic roles & 50–950 ramp

primary
#975FC7
secondary
#BFD6AC
accent
#D8508F
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #975FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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