#955BCC#955BCC

#955BCC is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.172 H 305.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#955BCC
RGBrgb(149, 91, 204)
HSLhsl(271, 53%, 58%)
HSVhsv(271, 55%, 80%)
CMYKcmyk(27%, 55.4%, 0%, 20%)
CIE-LABlab(49.78, 45.30, -49.84)
CIE-LCHlch(49.78, 67.35, 312.27°)
OKLaboklab(58.61% 0.0998 -0.1404)
OKLCHoklch(58.61% 0.172 305.4)
XYZxyz(27.0323, 18.2315, 59.2100)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#955BCC #92CC5B
analogous
#5C5BCC #955BCC #CC5BCB
triadic
#955BCC #CC955B #5BCC95
tetradic
#955BCC #CC5C5B #92CC5B #5BCBCC
square
#955BCC #CC5C5B #92CC5B #5BCBCC
split-complementary
#955BCC #CBCC5B #5BCC5C
monochromatic
#582984 #7737B2 #955BCC #B38ADB #D1B8E9

Accessibility & contrast

On white

4.52
#955BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#955BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #955BCC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##955BCC#FFFFFF#000000##000000
##955BCC1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3275D0
Deuteranopia (green-blind)
#4777C9
Tritanopia (blue-blind)
#8C708B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #955bcc;
/* rgb */ color: rgb(149, 91, 204);
/* oklch */ color: oklch(58.6% 0.172 305.4);
Tailwind
colors: {
  custom: {
    50: '#b78bdc',
    500: '#955bcc',
    950: '#000000',
  },
}
SCSS
$custom: #955bcc;
$custom-light: #b78bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#955bcc",
  "rgb": {
    "r": 149,
    "g": 91,
    "b": 204
  },
  "hsl": {
    "h": 270.796,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58613,
    "c": 0.17227,
    "h": 305.4
  },
  "luminance": 0.18231
}

Semantic roles & 50–950 ramp

primary
#955BCC
secondary
#C1D8AB
accent
#DC4C92
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #955BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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