#975FD4#975FD4

#975FD4 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.9% C 0.176 H 303.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#975FD4
RGBrgb(151, 95, 212)
HSLhsl(269, 58%, 60%)
HSVhsv(269, 55%, 83%)
CMYKcmyk(28.8%, 55.2%, 0%, 16.9%)
CIE-LABlab(51.29, 45.55, -51.98)
CIE-LCHlch(51.29, 69.12, 311.23°)
OKLaboklab(59.92% 0.0975 -0.1466)
OKLCHoklch(59.92% 0.176 303.6)
XYZxyz(28.7357, 19.5173, 64.5279)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FD4 #9CD45F
analogous
#5F62D4 #975FD4 #D15FD4
triadic
#975FD4 #D4975F #5FD497
tetradic
#975FD4 #D45F62 #9CD45F #5FD4D1
square
#975FD4 #D45F62 #9CD45F #5FD4D1
split-complementary
#975FD4 #D4D15F #62D45F
monochromatic
#5A2791 #7834C2 #975FD4 #B68FE1 #D6BFEE

Accessibility & contrast

On white

4.28
#975FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#975FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FD4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FD4#FFFFFF#000000##000000
##975FD41.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3379D8
Deuteranopia (green-blind)
#467AD1
Tritanopia (blue-blind)
#8C7590
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975fd4;
/* rgb */ color: rgb(151, 95, 212);
/* oklch */ color: oklch(59.9% 0.176 303.6);
Tailwind
colors: {
  custom: {
    50: '#b98ee2',
    500: '#975fd4',
    950: '#000000',
  },
}
SCSS
$custom: #975fd4;
$custom-light: #b98ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#975fd4",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 268.718,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59924,
    "c": 0.17608,
    "h": 303.6
  },
  "luminance": 0.19517
}

Semantic roles & 50–950 ramp

primary
#975FD4
secondary
#C8DEB1
accent
#C52076
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #975FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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