#956FC0#956FC0

#956FC0 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.2% C 0.125 H 304.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#956FC0
RGBrgb(149, 111, 192)
HSLhsl(268, 39%, 59%)
HSVhsv(268, 42%, 75%)
CMYKcmyk(22.4%, 42.2%, 0%, 24.7%)
CIE-LABlab(53.56, 31.23, -36.96)
CIE-LCHlch(53.56, 48.39, 310.20°)
OKLaboklab(61.23% 0.071 -0.1029)
OKLCHoklch(61.23% 0.125 304.6)
XYZxyz(27.5913, 21.5643, 52.5677)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FC0 #9AC06F
analogous
#6F72C0 #956FC0 #BD6FC0
triadic
#956FC0 #C0956F #6FC095
tetradic
#956FC0 #C06F72 #9AC06F #6FC0BD
square
#956FC0 #C06F72 #9AC06F #6FC0BD
split-complementary
#956FC0 #C0BD6F #72C06F
monochromatic
#58377E #764AA8 #956FC0 #B49AD3 #D4C4E5

Accessibility & contrast

On white

3.95
#956FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#956FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FC0
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FC0#FFFFFF#000000##000000
##956FC01.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7FC3
Deuteranopia (green-blind)
#6480BE
Tritanopia (blue-blind)
#8E7C8E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #956fc0;
/* rgb */ color: rgb(149, 111, 192);
/* oklch */ color: oklch(61.2% 0.125 304.6);
Tailwind
colors: {
  custom: {
    50: '#b699d3',
    500: '#956fc0',
    950: '#000000',
  },
}
SCSS
$custom: #956fc0;
$custom-light: #b699d3;
$custom-dark: #000000;
JSON
{
  "hex": "#956fc0",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 192
  },
  "hsl": {
    "h": 268.148,
    "s": 39.13,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61228,
    "c": 0.12506,
    "h": 304.6
  },
  "luminance": 0.21564
}

Semantic roles & 50–950 ramp

primary
#956FC0
secondary
#C6D5B6
accent
#CF5998
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #956FC0

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

Preview Lab → · Contrast checker → · Palette generator →

#956FC0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva