#956BC7#956BC7

#956BC7 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 60.9% C 0.141 H 303.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#956BC7
RGBrgb(149, 107, 199)
HSLhsl(267, 45%, 60%)
HSVhsv(267, 46%, 78%)
CMYKcmyk(25.1%, 46.2%, 0%, 22%)
CIE-LABlab(52.98, 35.20, -41.89)
CIE-LCHlch(52.98, 54.71, 310.04°)
OKLaboklab(60.9% 0.0778 -0.1172)
OKLCHoklch(60.9% 0.141 303.6)
XYZxyz(27.9587, 21.0285, 56.6077)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BC7 #9DC76B
analogous
#6B6FC7 #956BC7 #C36BC7
triadic
#956BC7 #C7956B #6BC795
tetradic
#956BC7 #C76B6F #9DC76B #6BC7C3
square
#956BC7 #C76B6F #9DC76B #6BC7C3
split-complementary
#956BC7 #C7C36B #6FC76B
monochromatic
#583285 #7643B2 #956BC7 #B597D8 #D5C4E9

Accessibility & contrast

On white

4.03
#956BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#956BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BC7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BC7#FFFFFF#000000##000000
##956BC71.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#527DCA
Deuteranopia (green-blind)
#5C7EC5
Tritanopia (blue-blind)
#8C7B8F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #956bc7;
/* rgb */ color: rgb(149, 107, 199);
/* oklch */ color: oklch(60.9% 0.141 303.6);
Tailwind
colors: {
  custom: {
    50: '#b696d8',
    500: '#956bc7',
    950: '#000000',
  },
}
SCSS
$custom: #956bc7;
$custom-light: #b696d8;
$custom-dark: #000000;
JSON
{
  "hex": "#956bc7",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 199
  },
  "hsl": {
    "h": 267.391,
    "s": 45.098,
    "l": 60
  },
  "oklch": {
    "l": 0.60904,
    "c": 0.14068,
    "h": 303.6
  },
  "luminance": 0.21028
}

Semantic roles & 50–950 ramp

primary
#956BC7
secondary
#C8D9B5
accent
#D5539A
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #956BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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