#956DCA#956DCA

#956DCA is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.4% C 0.141 H 302.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#956DCA
RGBrgb(149, 109, 202)
HSLhsl(266, 47%, 61%)
HSVhsv(266, 46%, 79%)
CMYKcmyk(26.2%, 46%, 0%, 20.8%)
CIE-LABlab(53.59, 34.79, -42.64)
CIE-LCHlch(53.59, 55.03, 309.21°)
OKLaboklab(61.41% 0.0754 -0.1194)
OKLCHoklch(61.41% 0.141 302.3)
XYZxyz(28.5214, 21.5911, 58.5306)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DCA #A2CA6D
analogous
#6D73CA #956DCA #C36DCA
triadic
#956DCA #CA956D #6DCA95
tetradic
#956DCA #CA6D73 #A2CA6D #6DCAC3
square
#956DCA #CA6D73 #A2CA6D #6DCAC3
split-complementary
#956DCA #CAC36D #73CA6D
monochromatic
#58328A #7543B7 #956DCA #B69ADA #D6C7EB

Accessibility & contrast

On white

3.95
#956DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#956DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DCA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DCA#FFFFFF#000000##000000
##956DCA1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#537FCD
Deuteranopia (green-blind)
#5C80C8
Tritanopia (blue-blind)
#8B7D92
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #956dca;
/* rgb */ color: rgb(149, 109, 202);
/* oklch */ color: oklch(61.4% 0.141 302.3);
Tailwind
colors: {
  custom: {
    50: '#b697da',
    500: '#956dca',
    950: '#000000',
  },
}
SCSS
$custom: #956dca;
$custom-light: #b697da;
$custom-dark: #000000;
JSON
{
  "hex": "#956dca",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 202
  },
  "hsl": {
    "h": 265.806,
    "s": 46.734,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61411,
    "c": 0.14124,
    "h": 302.3
  },
  "luminance": 0.21591
}

Semantic roles & 50–950 ramp

primary
#956DCA
secondary
#CCDBB8
accent
#BA2C7D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #956DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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