#955DCC#955DCC

#955DCC is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.9% C 0.169 H 305.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#955DCC
RGBrgb(149, 93, 204)
HSLhsl(270, 52%, 58%)
HSVhsv(270, 54%, 80%)
CMYKcmyk(27%, 54.4%, 0%, 20%)
CIE-LABlab(50.19, 44.21, -49.18)
CIE-LCHlch(50.19, 66.13, 311.96°)
OKLaboklab(58.92% 0.0972 -0.1385)
OKLCHoklch(58.92% 0.169 305.1)
XYZxyz(27.2055, 18.5781, 59.2677)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955DCC #94CC5D
analogous
#5D5DCC #955DCC #CC5DCC
triadic
#955DCC #CC955D #5DCC95
tetradic
#955DCC #CC5D5D #94CC5D #5DCCCC
square
#955DCC #CC5D5D #94CC5D #5DCCCC
split-complementary
#955DCC #CCCC5D #5DCC5D
monochromatic
#582A85 #7638B3 #955DCC #B38CDB #D2BAE9

Accessibility & contrast

On white

4.45
#955DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#955DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955DCC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955DCC#FFFFFF#000000##000000
##955DCC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3676D0
Deuteranopia (green-blind)
#4978C9
Tritanopia (blue-blind)
#8C728C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #955dcc;
/* rgb */ color: rgb(149, 93, 204);
/* oklch */ color: oklch(58.9% 0.169 305.1);
Tailwind
colors: {
  custom: {
    50: '#b78ddc',
    500: '#955dcc',
    950: '#000000',
  },
}
SCSS
$custom: #955dcc;
$custom-light: #b78ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#955dcc",
  "rgb": {
    "r": 149,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 270.27,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58918,
    "c": 0.16919,
    "h": 305.1
  },
  "luminance": 0.18578
}

Semantic roles & 50–950 ramp

primary
#955DCC
secondary
#C2D9AC
accent
#DC4C93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #955DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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