#956CDA#956CDA

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

Color values

HEX#956CDA
RGBrgb(149, 108, 218)
HSLhsl(262, 60%, 64%)
HSVhsv(262, 50%, 85%)
CMYKcmyk(31.7%, 50.5%, 0%, 14.5%)
CIE-LABlab(54.21, 39.33, -50.73)
CIE-LCHlch(54.21, 64.18, 307.79°)
OKLaboklab(62.15% 0.0785 -0.143)
OKLCHoklch(62.15% 0.163 298.8)
XYZxyz(30.4088, 22.1764, 68.9945)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CDA #B1DA6C
analogous
#6C7ADA #956CDA #CC6CDA
triadic
#956CDA #DA956C #6CDA95
tetradic
#956CDA #DA6C7A #B1DA6C #6CDACC
square
#956CDA #DA6C7A #B1DA6C #6CDACC
split-complementary
#956CDA #DACC6C #7ADA6C
monochromatic
#5629A3 #723BCE #956CDA #B89DE6 #DCCEF3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##956CDA#FFFFFF#000000##000000
##956CDA1.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)
#4582DE
Deuteranopia (green-blind)
#5081D7
Tritanopia (blue-blind)
#878199
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #956cda;
/* rgb */ color: rgb(149, 108, 218);
/* oklch */ color: oklch(62.2% 0.163 298.8);
Tailwind
colors: {
  custom: {
    50: '#b797e6',
    500: '#956cda',
    950: '#000000',
  },
}
SCSS
$custom: #956cda;
$custom-light: #b797e6;
$custom-dark: #000000;
JSON
{
  "hex": "#956cda",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 218
  },
  "hsl": {
    "h": 262.364,
    "s": 59.783,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62152,
    "c": 0.16317,
    "h": 298.8
  },
  "luminance": 0.22177
}

Semantic roles & 50–950 ramp

primary
#956CDA
secondary
#D6E4BE
accent
#C71E88
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #956CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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