#975FC4#975FC4

#975FC4 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.0% C 0.157 H 307.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#975FC4
RGBrgb(151, 95, 196)
HSLhsl(273, 46%, 57%)
HSVhsv(273, 52%, 77%)
CMYKcmyk(23%, 51.5%, 0%, 23.1%)
CIE-LABlab(50.39, 41.76, -44.25)
CIE-LCHlch(50.39, 60.84, 313.34°)
OKLaboklab(58.98% 0.0965 -0.124)
OKLCHoklch(58.98% 0.157 307.9)
XYZxyz(26.8165, 18.7496, 54.4202)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FC4 #8CC45F
analogous
#645FC4 #975FC4 #C45FBF
triadic
#975FC4 #C4975F #5FC497
tetradic
#975FC4 #C4645F #8CC45F #5FBFC4
square
#975FC4 #C4645F #8CC45F #5FBFC4
split-complementary
#975FC4 #BFC45F #5FC464
monochromatic
#592D7B #793EA8 #975FC4 #B48CD4 #D1B8E5

Accessibility & contrast

On white

4.42
#975FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#975FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FC4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FC4#FFFFFF#000000##000000
##975FC41.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4276C7
Deuteranopia (green-blind)
#5379C1
Tritanopia (blue-blind)
#917189
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #975fc4;
/* rgb */ color: rgb(151, 95, 196);
/* oklch */ color: oklch(59.0% 0.157 307.9);
Tailwind
colors: {
  custom: {
    50: '#b88ed6',
    500: '#975fc4',
    950: '#000000',
  },
}
SCSS
$custom: #975fc4;
$custom-light: #b88ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#975fc4",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 273.267,
    "s": 46.119,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58975,
    "c": 0.15715,
    "h": 307.9
  },
  "luminance": 0.18749
}

Semantic roles & 50–950 ramp

primary
#975FC4
secondary
#BDD4AB
accent
#D6528D
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #975FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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