#956BD2#956BD2

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

Color values

HEX#956BD2
RGBrgb(149, 107, 210)
HSLhsl(264, 53%, 62%)
HSVhsv(264, 49%, 82%)
CMYKcmyk(29%, 49%, 0%, 17.6%)
CIE-LABlab(53.55, 37.89, -47.24)
CIE-LCHlch(53.55, 60.56, 308.73°)
OKLaboklab(61.52% 0.0791 -0.1328)
OKLCHoklch(61.52% 0.155 300.8)
XYZxyz(29.2823, 21.5580, 63.5787)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BD2 #A8D26B
analogous
#6B75D2 #956BD2 #C96BD2
triadic
#956BD2 #D2956B #6BD295
tetradic
#956BD2 #D26B75 #A8D26B #6BD2C9
square
#956BD2 #D26B75 #A8D26B #6BD2C9
split-complementary
#956BD2 #D2C96B #75D26B
monochromatic
#582D95 #733CC4 #956BD2 #B79AE0 #D8C9EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##956BD2#FFFFFF#000000##000000
##956BD21.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)
#4A7FD6
Deuteranopia (green-blind)
#557FCF
Tritanopia (blue-blind)
#897E95
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #956bd2;
/* rgb */ color: rgb(149, 107, 210);
/* oklch */ color: oklch(61.5% 0.155 300.8);
Tailwind
colors: {
  custom: {
    50: '#b796e0',
    500: '#956bd2',
    950: '#000000',
  },
}
SCSS
$custom: #956bd2;
$custom-light: #b796e0;
$custom-dark: #000000;
JSON
{
  "hex": "#956bd2",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 264.466,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6152,
    "c": 0.15462,
    "h": 300.8
  },
  "luminance": 0.21558
}

Semantic roles & 50–950 ramp

primary
#956BD2
secondary
#D0DFB9
accent
#C12581
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #956BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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