#956BC4#956BC4

#956BC4 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 60.7% C 0.137 H 304.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#956BC4
RGBrgb(149, 107, 196)
HSLhsl(268, 43%, 59%)
HSVhsv(268, 45%, 77%)
CMYKcmyk(24%, 45.4%, 0%, 23.1%)
CIE-LABlab(52.83, 34.48, -40.41)
CIE-LCHlch(52.83, 53.12, 310.47°)
OKLaboklab(60.74% 0.0774 -0.1129)
OKLCHoklch(60.74% 0.137 304.4)
XYZxyz(27.6138, 20.8906, 54.7914)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BC4 #9AC46B
analogous
#6B6EC4 #956BC4 #C26BC4
triadic
#956BC4 #C4956B #6BC495
tetradic
#956BC4 #C46B6E #9AC46B #6BC4C2
square
#956BC4 #C46B6E #9AC46B #6BC4C2
split-complementary
#956BC4 #C4C26B #6EC46B
monochromatic
#583381 #7645AD #956BC4 #B497D5 #D4C3E7

Accessibility & contrast

On white

4.06
#956BC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#956BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BC4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BC4#FFFFFF#000000##000000
##956BC41.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#537DC7
Deuteranopia (green-blind)
#5E7EC2
Tritanopia (blue-blind)
#8D7A8E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #956bc4;
/* rgb */ color: rgb(149, 107, 196);
/* oklch */ color: oklch(60.7% 0.137 304.4);
Tailwind
colors: {
  custom: {
    50: '#b696d6',
    500: '#956bc4',
    950: '#000000',
  },
}
SCSS
$custom: #956bc4;
$custom-light: #b696d6;
$custom-dark: #000000;
JSON
{
  "hex": "#956bc4",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 196
  },
  "hsl": {
    "h": 268.315,
    "s": 42.995,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60742,
    "c": 0.13688,
    "h": 304.4
  },
  "luminance": 0.2089
}

Semantic roles & 50–950 ramp

primary
#956BC4
secondary
#C6D7B4
accent
#D35597
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #956BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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