#956BDA#956BDA

#956BDA is a mid, vivid violet. Relative luminance 0.220; OKLCH L 62.0% C 0.165 H 299.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#956BDA
RGBrgb(149, 107, 218)
HSLhsl(263, 60%, 64%)
HSVhsv(263, 51%, 85%)
CMYKcmyk(31.7%, 50.9%, 0%, 14.5%)
CIE-LABlab(53.99, 39.89, -51.08)
CIE-LCHlch(53.99, 64.81, 307.99°)
OKLaboklab(61.99% 0.0798 -0.1441)
OKLCHoklch(61.99% 0.165 299)
XYZxyz(30.3040, 21.9666, 68.9595)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BDA #B0DA6B
analogous
#6B78DA #956BDA #CC6BDA
triadic
#956BDA #DA956B #6BDA95
tetradic
#956BDA #DA6B78 #B0DA6B #6BDACC
square
#956BDA #DA6B78 #B0DA6B #6BDACC
split-complementary
#956BDA #DACC6B #78DA6B
monochromatic
#5729A2 #723ACE #956BDA #B89CE6 #DBCDF2

Accessibility & contrast

On white

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

On black

5.39
#956BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BDA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BDA#FFFFFF#000000##000000
##956BDA1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4381DE
Deuteranopia (green-blind)
#4E80D7
Tritanopia (blue-blind)
#878098
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #956bda;
/* rgb */ color: rgb(149, 107, 218);
/* oklch */ color: oklch(62.0% 0.165 299.0);
Tailwind
colors: {
  custom: {
    50: '#b796e6',
    500: '#956bda',
    950: '#000000',
  },
}
SCSS
$custom: #956bda;
$custom-light: #b796e6;
$custom-dark: #000000;
JSON
{
  "hex": "#956bda",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 218
  },
  "hsl": {
    "h": 262.703,
    "s": 60,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61987,
    "c": 0.1647,
    "h": 299
  },
  "luminance": 0.21967
}

Semantic roles & 50–950 ramp

primary
#956BDA
secondary
#D5E4BD
accent
#C81E87
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #956BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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