#956BC3#956BC3

#956BC3 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.7% C 0.136 H 304.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#956BC3
RGBrgb(149, 107, 195)
HSLhsl(269, 42%, 59%)
HSVhsv(269, 45%, 76%)
CMYKcmyk(23.6%, 45.1%, 0%, 23.5%)
CIE-LABlab(52.78, 34.24, -39.91)
CIE-LCHlch(52.78, 52.59, 310.62°)
OKLaboklab(60.69% 0.0772 -0.1115)
OKLCHoklch(60.69% 0.136 304.7)
XYZxyz(27.5004, 20.8452, 54.1939)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BC3 #99C36B
analogous
#6B6DC3 #956BC3 #C16BC3
triadic
#956BC3 #C3956B #6BC395
tetradic
#956BC3 #C36B6D #99C36B #6BC3C1
square
#956BC3 #C36B6D #99C36B #6BC3C1
split-complementary
#956BC3 #C3C16B #6DC36B
monochromatic
#583480 #7645AB #956BC3 #B497D5 #D3C2E6

Accessibility & contrast

On white

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

On black

5.17
#956BC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BC3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BC3#FFFFFF#000000##000000
##956BC31.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#547DC6
Deuteranopia (green-blind)
#5E7EC1
Tritanopia (blue-blind)
#8E7A8E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #956bc3;
/* rgb */ color: rgb(149, 107, 195);
/* oklch */ color: oklch(60.7% 0.136 304.7);
Tailwind
colors: {
  custom: {
    50: '#b696d5',
    500: '#956bc3',
    950: '#000000',
  },
}
SCSS
$custom: #956bc3;
$custom-light: #b696d5;
$custom-dark: #000000;
JSON
{
  "hex": "#956bc3",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 195
  },
  "hsl": {
    "h": 268.636,
    "s": 42.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60688,
    "c": 0.13561,
    "h": 304.7
  },
  "luminance": 0.20845
}

Semantic roles & 50–950 ramp

primary
#956BC3
secondary
#C6D6B4
accent
#D25697
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #956BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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