#956BDD#956BDD

#956BDD is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.2% C 0.168 H 298.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#956BDD
RGBrgb(149, 107, 221)
HSLhsl(262, 63%, 64%)
HSVhsv(262, 52%, 87%)
CMYKcmyk(32.6%, 51.6%, 0%, 13.3%)
CIE-LABlab(54.16, 40.65, -52.50)
CIE-LCHlch(54.16, 66.40, 307.75°)
OKLaboklab(62.17% 0.0801 -0.1482)
OKLCHoklch(62.17% 0.168 298.4)
XYZxyz(30.7001, 22.1251, 71.0457)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BDD #B3DD6B
analogous
#6B7ADD #956BDD #CE6BDD
triadic
#956BDD #DD956B #6BDD95
tetradic
#956BDD #DD6B7A #B3DD6B #6BDDCE
square
#956BDD #DD6B7A #B3DD6B #6BDDCE
split-complementary
#956BDD #DDCE6B #7ADD6B
monochromatic
#5626A7 #7139D2 #956BDD #B99DE8 #DCCFF4

Accessibility & contrast

On white

3.87
#956BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#956BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BDD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BDD#FFFFFF#000000##000000
##956BDD1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4182E1
Deuteranopia (green-blind)
#4C80DA
Tritanopia (blue-blind)
#86819A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #956bdd;
/* rgb */ color: rgb(149, 107, 221);
/* oklch */ color: oklch(62.2% 0.168 298.4);
Tailwind
colors: {
  custom: {
    50: '#b796e8',
    500: '#956bdd',
    950: '#000000',
  },
}
SCSS
$custom: #956bdd;
$custom-light: #b796e8;
$custom-dark: #000000;
JSON
{
  "hex": "#956bdd",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 221
  },
  "hsl": {
    "h": 262.105,
    "s": 62.637,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62166,
    "c": 0.16847,
    "h": 298.4
  },
  "luminance": 0.22125
}

Semantic roles & 50–950 ramp

primary
#956BDD
secondary
#D7E6BE
accent
#CA1B8A
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #956BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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