#975DD7#975DD7

#975DD7 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.8% C 0.183 H 303.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#975DD7
RGBrgb(151, 93, 215)
HSLhsl(269, 60%, 60%)
HSVhsv(269, 57%, 84%)
CMYKcmyk(29.8%, 56.7%, 0%, 15.7%)
CIE-LABlab(51.05, 47.35, -54.06)
CIE-LCHlch(51.05, 71.87, 311.21°)
OKLaboklab(59.81% 0.1001 -0.1527)
OKLCHoklch(59.81% 0.183 303.2)
XYZxyz(28.9398, 19.3143, 66.4802)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DD7 #9DD75D
analogous
#5D60D7 #975DD7 #D45DD7
triadic
#975DD7 #D7975D #5DD797
tetradic
#975DD7 #D75D60 #9DD75D #5DD7D4
square
#975DD7 #D75D60 #9DD75D #5DD7D4
split-complementary
#975DD7 #D7D45D #60D75D
monochromatic
#5A2595 #7831C6 #975DD7 #B78EE3 #D6BFEF

Accessibility & contrast

On white

4.32
#975DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#975DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DD7
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DD7#FFFFFF#000000##000000
##975DD71.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A78DB
Deuteranopia (green-blind)
#4179D4
Tritanopia (blue-blind)
#8B7591
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975dd7;
/* rgb */ color: rgb(151, 93, 215);
/* oklch */ color: oklch(59.8% 0.183 303.2);
Tailwind
colors: {
  custom: {
    50: '#b98de4',
    500: '#975dd7',
    950: '#000000',
  },
}
SCSS
$custom: #975dd7;
$custom-light: #b98de4;
$custom-dark: #000000;
JSON
{
  "hex": "#975dd7",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 215
  },
  "hsl": {
    "h": 268.525,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59809,
    "c": 0.18261,
    "h": 303.2
  },
  "luminance": 0.19314
}

Semantic roles & 50–950 ramp

primary
#975DD7
secondary
#C9DFB1
accent
#C81D77
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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