#956BB3#956BB3

#956BB3 is a mid, moderate violet. Relative luminance 0.202; OKLCH L 59.9% C 0.115 H 310.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#956BB3
RGBrgb(149, 107, 179)
HSLhsl(275, 32%, 56%)
HSVhsv(275, 40%, 70%)
CMYKcmyk(16.8%, 40.2%, 0%, 29.8%)
CIE-LABlab(52.02, 30.51, -31.89)
CIE-LCHlch(52.02, 44.13, 313.73°)
OKLaboklab(59.87% 0.0743 -0.0883)
OKLCHoklch(59.87% 0.115 310.1)
XYZxyz(25.7873, 20.1600, 45.1719)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BB3 #89B36B
analogous
#716BB3 #956BB3 #B36BAD
triadic
#956BB3 #B3956B #6BB395
tetradic
#956BB3 #B3716B #89B36B #6BADB3
square
#956BB3 #B3716B #89B36B #6BADB3
split-complementary
#956BB3 #ADB36B #6BB371
monochromatic
#56386C #764C95 #956BB3 #B293C8 #CFBCDD

Accessibility & contrast

On white

4.17
#956BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#956BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BB3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BB3#FFFFFF#000000##000000
##956BB31.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7AB6
Deuteranopia (green-blind)
#667DB1
Tritanopia (blue-blind)
#927686
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #956bb3;
/* rgb */ color: rgb(149, 107, 179);
/* oklch */ color: oklch(59.9% 0.115 310.1);
Tailwind
colors: {
  custom: {
    50: '#b596ca',
    500: '#956bb3',
    950: '#000000',
  },
}
SCSS
$custom: #956bb3;
$custom-light: #b596ca;
$custom-dark: #000000;
JSON
{
  "hex": "#956bb3",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 179
  },
  "hsl": {
    "h": 275,
    "s": 32.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59865,
    "c": 0.11543,
    "h": 310.1
  },
  "luminance": 0.2016
}

Semantic roles & 50–950 ramp

primary
#956BB3
secondary
#BACCAE
accent
#C85F8B
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #956BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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