#956CD4#956CD4

#956CD4 is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.8% C 0.156 H 300.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#956CD4
RGBrgb(149, 108, 212)
HSLhsl(264, 55%, 63%)
HSVhsv(264, 49%, 83%)
CMYKcmyk(29.7%, 49.1%, 0%, 16.9%)
CIE-LABlab(53.89, 37.82, -47.85)
CIE-LCHlch(53.89, 60.99, 308.32°)
OKLaboklab(61.8% 0.078 -0.1346)
OKLCHoklch(61.8% 0.156 300.1)
XYZxyz(29.6379, 21.8680, 64.9341)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CD4 #ABD46C
analogous
#6C77D4 #956CD4 #C96CD4
triadic
#956CD4 #D4956C #6CD495
tetradic
#956CD4 #D46C77 #ABD46C #6CD4C9
square
#956CD4 #D46C77 #ABD46C #6CD4C9
split-complementary
#956CD4 #D4C96C #77D46C
monochromatic
#572D99 #733DC6 #956CD4 #B79BE2 #D9CBF0

Accessibility & contrast

On white

3.91
#956CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#956CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CD4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CD4#FFFFFF#000000##000000
##956CD41.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A80D8
Deuteranopia (green-blind)
#5480D1
Tritanopia (blue-blind)
#887F96
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #956cd4;
/* rgb */ color: rgb(149, 108, 212);
/* oklch */ color: oklch(61.8% 0.156 300.1);
Tailwind
colors: {
  custom: {
    50: '#b797e2',
    500: '#956cd4',
    950: '#000000',
  },
}
SCSS
$custom: #956cd4;
$custom-light: #b797e2;
$custom-dark: #000000;
JSON
{
  "hex": "#956cd4",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 212
  },
  "hsl": {
    "h": 263.654,
    "s": 54.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61802,
    "c": 0.15557,
    "h": 300.1
  },
  "luminance": 0.21868
}

Semantic roles & 50–950 ramp

primary
#956CD4
secondary
#D2E1BB
accent
#C22384
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #956CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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