#975DD8#975DD8

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

Color values

HEX#975DD8
RGBrgb(151, 93, 216)
HSLhsl(268, 61%, 61%)
HSVhsv(268, 57%, 85%)
CMYKcmyk(30.1%, 56.9%, 0%, 15.3%)
CIE-LABlab(51.11, 47.59, -54.54)
CIE-LCHlch(51.11, 72.38, 311.11°)
OKLaboklab(59.87% 0.1001 -0.1541)
OKLCHoklch(59.87% 0.184 303)
XYZxyz(29.0687, 19.3659, 67.1590)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DD8 #9ED85D
analogous
#5D60D8 #975DD8 #D55DD8
triadic
#975DD8 #D8975D #5DD897
tetradic
#975DD8 #D85D60 #9ED85D #5DD8D5
square
#975DD8 #D85D60 #9ED85D #5DD8D5
split-complementary
#975DD8 #D8D55D #60D85D
monochromatic
#5A2496 #7830C8 #975DD8 #B78EE4 #D6C0F0

Accessibility & contrast

On white

4.31
#975DD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#975DD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DD8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DD8#FFFFFF#000000##000000
##975DD81.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2879DC
Deuteranopia (green-blind)
#4079D5
Tritanopia (blue-blind)
#8B7592
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975dd8;
/* rgb */ color: rgb(151, 93, 216);
/* oklch */ color: oklch(59.9% 0.184 303.0);
Tailwind
colors: {
  custom: {
    50: '#b98de5',
    500: '#975dd8',
    950: '#000000',
  },
}
SCSS
$custom: #975dd8;
$custom-light: #b98de5;
$custom-dark: #000000;
JSON
{
  "hex": "#975dd8",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 216
  },
  "hsl": {
    "h": 268.293,
    "s": 61.194,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59872,
    "c": 0.18377,
    "h": 303
  },
  "luminance": 0.19366
}

Semantic roles & 50–950 ramp

primary
#975DD8
secondary
#CAE0B1
accent
#C91D78
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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