#956BDE#956BDE

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

Color values

HEX#956BDE
RGBrgb(149, 107, 222)
HSLhsl(262, 64%, 65%)
HSVhsv(262, 52%, 87%)
CMYKcmyk(32.9%, 51.8%, 0%, 12.9%)
CIE-LABlab(54.22, 40.90, -52.98)
CIE-LCHlch(54.22, 66.93, 307.67°)
OKLaboklab(62.23% 0.0801 -0.1496)
OKLCHoklch(62.23% 0.17 298.2)
XYZxyz(30.8337, 22.1785, 71.7495)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BDE #B4DE6B
analogous
#6B7BDE #956BDE #CF6BDE
triadic
#956BDE #DE956B #6BDE95
tetradic
#956BDE #DE6B7B #B4DE6B #6BDECF
square
#956BDE #DE6B7B #B4DE6B #6BDECF
split-complementary
#956BDE #DECF6B #7BDE6B
monochromatic
#5626A9 #7139D3 #956BDE #B99DE9 #DDCFF4

Accessibility & contrast

On white

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

On black

5.44
#956BDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BDE
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BDE#FFFFFF#000000##000000
##956BDE1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4082E2
Deuteranopia (green-blind)
#4B80DB
Tritanopia (blue-blind)
#85819A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #956bde;
/* rgb */ color: rgb(149, 107, 222);
/* oklch */ color: oklch(62.2% 0.170 298.2);
Tailwind
colors: {
  custom: {
    50: '#b896e9',
    500: '#956bde',
    950: '#000000',
  },
}
SCSS
$custom: #956bde;
$custom-light: #b896e9;
$custom-dark: #000000;
JSON
{
  "hex": "#956bde",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 222
  },
  "hsl": {
    "h": 261.913,
    "s": 63.536,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62226,
    "c": 0.16972,
    "h": 298.2
  },
  "luminance": 0.22179
}

Semantic roles & 50–950 ramp

primary
#956BDE
secondary
#D8E6BF
accent
#CB1A8B
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #956BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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