#956DDA#956DDA

#956DDA is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.3% C 0.162 H 298.5°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#956DDA
RGBrgb(149, 109, 218)
HSLhsl(262, 60%, 64%)
HSVhsv(262, 50%, 85%)
CMYKcmyk(31.7%, 50%, 0%, 14.5%)
CIE-LABlab(54.44, 38.76, -50.37)
CIE-LCHlch(54.44, 63.56, 307.58°)
OKLaboklab(62.32% 0.0772 -0.142)
OKLCHoklch(62.32% 0.162 298.5)
XYZxyz(30.5149, 22.3885, 69.0298)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DDA #B2DA6D
analogous
#6D7CDA #956DDA #CB6DDA
triadic
#956DDA #DA956D #6DDA95
tetradic
#956DDA #DA6D7C #B2DA6D #6DDACB
square
#956DDA #DA6D7C #B2DA6D #6DDACB
split-complementary
#956DDA #DACB6D #7CDA6D
monochromatic
#5629A3 #723CCE #956DDA #B89EE6 #DCCFF3

Accessibility & contrast

On white

3.83
#956DDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#956DDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DDA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DDA#FFFFFF#000000##000000
##956DDA1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4782DE
Deuteranopia (green-blind)
#5181D7
Tritanopia (blue-blind)
#868299
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #956dda;
/* rgb */ color: rgb(149, 109, 218);
/* oklch */ color: oklch(62.3% 0.162 298.5);
Tailwind
colors: {
  custom: {
    50: '#b798e6',
    500: '#956dda',
    950: '#000000',
  },
}
SCSS
$custom: #956dda;
$custom-light: #b798e6;
$custom-dark: #000000;
JSON
{
  "hex": "#956dda",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 218
  },
  "hsl": {
    "h": 262.018,
    "s": 59.563,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62318,
    "c": 0.16163,
    "h": 298.5
  },
  "luminance": 0.22389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #956DDA

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

Preview Lab → · Contrast checker → · Palette generator →

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