#975DD9#975DD9

#975DD9 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.9% C 0.185 H 302.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#975DD9
RGBrgb(151, 93, 217)
HSLhsl(268, 62%, 61%)
HSVhsv(268, 57%, 85%)
CMYKcmyk(30.4%, 57.1%, 0%, 14.9%)
CIE-LABlab(51.17, 47.84, -55.01)
CIE-LCHlch(51.17, 72.90, 311.01°)
OKLaboklab(59.94% 0.1001 -0.1555)
OKLCHoklch(59.94% 0.185 302.8)
XYZxyz(29.1984, 19.4178, 67.8419)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DD9 #9FD95D
analogous
#5D61D9 #975DD9 #D55DD9
triadic
#975DD9 #D9975D #5DD997
tetradic
#975DD9 #D95D61 #9FD95D #5DD9D5
square
#975DD9 #D95D61 #9FD95D #5DD9D5
split-complementary
#975DD9 #D9D55D #61D95D
monochromatic
#5A2498 #772FCA #975DD9 #B78FE5 #D7C0F0

Accessibility & contrast

On white

4.30
#975DD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#975DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DD9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DD9#FFFFFF#000000##000000
##975DD91.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2779DD
Deuteranopia (green-blind)
#3F7AD6
Tritanopia (blue-blind)
#8A7692
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975dd9;
/* rgb */ color: rgb(151, 93, 217);
/* oklch */ color: oklch(59.9% 0.185 302.8);
Tailwind
colors: {
  custom: {
    50: '#b98de5',
    500: '#975dd9',
    950: '#000000',
  },
}
SCSS
$custom: #975dd9;
$custom-light: #b98de5;
$custom-dark: #000000;
JSON
{
  "hex": "#975dd9",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 217
  },
  "hsl": {
    "h": 268.065,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59935,
    "c": 0.18494,
    "h": 302.8
  },
  "luminance": 0.19418
}

Semantic roles & 50–950 ramp

primary
#975DD9
secondary
#CAE0B1
accent
#CA1C78
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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