#955DCD#955DCD

#955DCD is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.0% C 0.170 H 304.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#955DCD
RGBrgb(149, 93, 205)
HSLhsl(270, 53%, 58%)
HSVhsv(270, 55%, 80%)
CMYKcmyk(27.3%, 54.6%, 0%, 19.6%)
CIE-LABlab(50.25, 44.45, -49.66)
CIE-LCHlch(50.25, 66.65, 311.83°)
OKLaboklab(58.98% 0.0973 -0.1399)
OKLCHoklch(58.98% 0.17 304.8)
XYZxyz(27.3258, 18.6262, 59.9014)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955DCD #95CD5D
analogous
#5D5DCD #955DCD #CD5DCD
triadic
#955DCD #CD955D #5DCD95
tetradic
#955DCD #CD5D5D #95CD5D #5DCDCD
square
#955DCD #CD5D5D #95CD5D #5DCDCD
split-complementary
#955DCD #CDCD5D #5DCD5D
monochromatic
#582986 #7638B5 #955DCD #B48CDB #D2BBEA

Accessibility & contrast

On white

4.44
#955DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#955DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955DCD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955DCD#FFFFFF#000000##000000
##955DCD1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3576D1
Deuteranopia (green-blind)
#4878CA
Tritanopia (blue-blind)
#8B728C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #955dcd;
/* rgb */ color: rgb(149, 93, 205);
/* oklch */ color: oklch(59.0% 0.170 304.8);
Tailwind
colors: {
  custom: {
    50: '#b78ddd',
    500: '#955dcd',
    950: '#000000',
  },
}
SCSS
$custom: #955dcd;
$custom-light: #b78ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#955dcd",
  "rgb": {
    "r": 149,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 270,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58978,
    "c": 0.17038,
    "h": 304.8
  },
  "luminance": 0.18626
}

Semantic roles & 50–950 ramp

primary
#955DCD
secondary
#C3D9AD
accent
#DC4C94
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #955DCD

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

Preview Lab → · Contrast checker → · Palette generator →

#955DCD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva