#956CDC#956CDC

#956CDC is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.3% C 0.166 H 298.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#956CDC
RGBrgb(149, 108, 220)
HSLhsl(262, 62%, 64%)
HSVhsv(262, 51%, 86%)
CMYKcmyk(32.3%, 50.9%, 0%, 13.7%)
CIE-LABlab(54.32, 39.83, -51.68)
CIE-LCHlch(54.32, 65.25, 307.62°)
OKLaboklab(62.27% 0.0787 -0.1458)
OKLCHoklch(62.27% 0.166 298.4)
XYZxyz(30.6721, 22.2817, 70.3811)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CDC #B3DC6C
analogous
#6C7BDC #956CDC #CD6CDC
triadic
#956CDC #DC956C #6CDC95
tetradic
#956CDC #DC6C7B #B3DC6C #6CDCCD
square
#956CDC #DC6C7B #B3DC6C #6CDCCD
split-complementary
#956CDC #DCCD6C #7BDC6C
monochromatic
#5628A6 #713BD0 #956CDC #B99DE8 #DCCFF4

Accessibility & contrast

On white

3.85
#956CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#956CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CDC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CDC#FFFFFF#000000##000000
##956CDC1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482E0
Deuteranopia (green-blind)
#4E81D9
Tritanopia (blue-blind)
#86829A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #956cdc;
/* rgb */ color: rgb(149, 108, 220);
/* oklch */ color: oklch(62.3% 0.166 298.4);
Tailwind
colors: {
  custom: {
    50: '#b797e7',
    500: '#956cdc',
    950: '#000000',
  },
}
SCSS
$custom: #956cdc;
$custom-light: #b797e7;
$custom-dark: #000000;
JSON
{
  "hex": "#956cdc",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 220
  },
  "hsl": {
    "h": 261.964,
    "s": 61.538,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6227,
    "c": 0.16569,
    "h": 298.4
  },
  "luminance": 0.22282
}

Semantic roles & 50–950 ramp

primary
#956CDC
secondary
#D7E5BE
accent
#C91C8A
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #956CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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