#956CDB#956CDB

#956CDB is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.2% C 0.164 H 298.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#956CDB
RGBrgb(149, 108, 219)
HSLhsl(262, 61%, 64%)
HSVhsv(262, 51%, 86%)
CMYKcmyk(32%, 50.7%, 0%, 14.1%)
CIE-LABlab(54.27, 39.58, -51.20)
CIE-LCHlch(54.27, 64.72, 307.70°)
OKLaboklab(62.21% 0.0786 -0.1444)
OKLCHoklch(62.21% 0.164 298.6)
XYZxyz(30.5401, 22.2289, 69.6857)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CDB #B2DB6C
analogous
#6C7BDB #956CDB #CD6CDB
triadic
#956CDB #DB956C #6CDB95
tetradic
#956CDB #DB6C7B #B2DB6C #6CDBCD
square
#956CDB #DB6C7B #B2DB6C #6CDBCD
split-complementary
#956CDB #DBCD6C #7BDB6C
monochromatic
#5628A4 #723BCF #956CDB #B89DE7 #DCCEF3

Accessibility & contrast

On white

3.86
#956CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#956CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CDB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CDB#FFFFFF#000000##000000
##956CDB1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482DF
Deuteranopia (green-blind)
#4F81D8
Tritanopia (blue-blind)
#868199
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #956cdb;
/* rgb */ color: rgb(149, 108, 219);
/* oklch */ color: oklch(62.2% 0.164 298.6);
Tailwind
colors: {
  custom: {
    50: '#b797e7',
    500: '#956cdb',
    950: '#000000',
  },
}
SCSS
$custom: #956cdb;
$custom-light: #b797e7;
$custom-dark: #000000;
JSON
{
  "hex": "#956cdb",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 262.162,
    "s": 60.656,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62211,
    "c": 0.16442,
    "h": 298.6
  },
  "luminance": 0.22229
}

Semantic roles & 50–950 ramp

primary
#956CDB
secondary
#D6E5BE
accent
#C81D89
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #956CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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