#975DDC#975DDC

#975DDC is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.1% C 0.188 H 302.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#975DDC
RGBrgb(151, 93, 220)
HSLhsl(267, 64%, 61%)
HSVhsv(267, 58%, 86%)
CMYKcmyk(31.4%, 57.7%, 0%, 13.7%)
CIE-LABlab(51.35, 48.57, -56.42)
CIE-LCHlch(51.35, 74.44, 310.72°)
OKLaboklab(60.13% 0.1001 -0.1596)
OKLCHoklch(60.13% 0.188 302.1)
XYZxyz(29.5921, 19.5753, 69.9157)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975DDC #A2DC5D
analogous
#5D63DC #975DDC #D75DDC
triadic
#975DDC #DC975D #5DDC97
tetradic
#975DDC #DC5D63 #A2DC5D #5DDCD7
square
#975DDC #DC5D63 #A2DC5D #5DDCD7
split-complementary
#975DDC #DCD75D #63DC5D
monochromatic
#5A229D #772DCF #975DDC #B78FE7 #D8C2F2

Accessibility & contrast

On white

4.27
#975DDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#975DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #975DDC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975DDC#FFFFFF#000000##000000
##975DDC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2279E0
Deuteranopia (green-blind)
#3C7AD9
Tritanopia (blue-blind)
#8A7794
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #975ddc;
/* rgb */ color: rgb(151, 93, 220);
/* oklch */ color: oklch(60.1% 0.188 302.1);
Tailwind
colors: {
  custom: {
    50: '#b98de7',
    500: '#975ddc',
    950: '#000000',
  },
}
SCSS
$custom: #975ddc;
$custom-light: #b98de7;
$custom-dark: #000000;
JSON
{
  "hex": "#975ddc",
  "rgb": {
    "r": 151,
    "g": 93,
    "b": 220
  },
  "hsl": {
    "h": 267.402,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60126,
    "c": 0.18844,
    "h": 302.1
  },
  "luminance": 0.19575
}

Semantic roles & 50–950 ramp

primary
#975DDC
secondary
#CCE2B3
accent
#CC197B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #975DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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