#956BDB#956BDB

#956BDB is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.0% C 0.166 H 298.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#956BDB
RGBrgb(149, 107, 219)
HSLhsl(263, 61%, 64%)
HSVhsv(263, 51%, 86%)
CMYKcmyk(32%, 51.1%, 0%, 14.1%)
CIE-LABlab(54.05, 40.14, -51.56)
CIE-LCHlch(54.05, 65.34, 307.91°)
OKLaboklab(62.05% 0.0799 -0.1454)
OKLCHoklch(62.05% 0.166 298.8)
XYZxyz(30.4352, 22.0191, 69.6508)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BDB #B1DB6B
analogous
#6B79DB #956BDB #CD6BDB
triadic
#956BDB #DB956B #6BDB95
tetradic
#956BDB #DB6B79 #B1DB6B #6BDBCD
square
#956BDB #DB6B79 #B1DB6B #6BDBCD
split-complementary
#956BDB #DBCD6B #79DB6B
monochromatic
#5628A4 #723ACF #956BDB #B89CE7 #DCCDF3

Accessibility & contrast

On white

3.89
#956BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#956BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BDB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BDB#FFFFFF#000000##000000
##956BDB1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4381DF
Deuteranopia (green-blind)
#4E80D8
Tritanopia (blue-blind)
#868199
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #956bdb;
/* rgb */ color: rgb(149, 107, 219);
/* oklch */ color: oklch(62.0% 0.166 298.8);
Tailwind
colors: {
  custom: {
    50: '#b796e7',
    500: '#956bdb',
    950: '#000000',
  },
}
SCSS
$custom: #956bdb;
$custom-light: #b796e7;
$custom-dark: #000000;
JSON
{
  "hex": "#956bdb",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 219
  },
  "hsl": {
    "h": 262.5,
    "s": 60.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62046,
    "c": 0.16596,
    "h": 298.8
  },
  "luminance": 0.22019
}

Semantic roles & 50–950 ramp

primary
#956BDB
secondary
#D6E5BD
accent
#C91D88
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #956BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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