#975FD9#975FD9

#975FD9 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.2% C 0.182 H 302.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#975FD9
RGBrgb(151, 95, 217)
HSLhsl(268, 62%, 61%)
HSVhsv(268, 56%, 85%)
CMYKcmyk(30.4%, 56.2%, 0%, 14.9%)
CIE-LABlab(51.58, 46.76, -54.35)
CIE-LCHlch(51.58, 71.70, 310.71°)
OKLaboklab(60.23% 0.0976 -0.1536)
OKLCHoklch(60.23% 0.182 302.4)
XYZxyz(29.3762, 19.7735, 67.9012)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975FD9 #A1D95F
analogous
#5F64D9 #975FD9 #D45FD9
triadic
#975FD9 #D9975F #5FD997
tetradic
#975FD9 #D95F64 #A1D95F #5FD9D4
square
#975FD9 #D95F64 #A1D95F #5FD9D4
split-complementary
#975FD9 #D9D45F #64D95F
monochromatic
#5A2499 #7730CB #975FD9 #B790E5 #D7C2F0

Accessibility & contrast

On white

4.24
#975FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#975FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975FD9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975FD9#FFFFFF#000000##000000
##975FD91.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7ADD
Deuteranopia (green-blind)
#427BD6
Tritanopia (blue-blind)
#8A7793
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #975fd9;
/* rgb */ color: rgb(151, 95, 217);
/* oklch */ color: oklch(60.2% 0.182 302.4);
Tailwind
colors: {
  custom: {
    50: '#b98ee5',
    500: '#975fd9',
    950: '#000000',
  },
}
SCSS
$custom: #975fd9;
$custom-light: #b98ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#975fd9",
  "rgb": {
    "r": 151,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 267.541,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60234,
    "c": 0.18199,
    "h": 302.4
  },
  "luminance": 0.19773
}

Semantic roles & 50–950 ramp

primary
#975FD9
secondary
#CCE1B3
accent
#C91C7A
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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