#956CCC#956CCC

#956CCC is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.4% C 0.145 H 302.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#956CCC
RGBrgb(149, 108, 204)
HSLhsl(266, 48%, 61%)
HSVhsv(266, 47%, 80%)
CMYKcmyk(27%, 47.1%, 0%, 20%)
CIE-LABlab(53.46, 35.84, -43.97)
CIE-LCHlch(53.46, 56.73, 309.18°)
OKLaboklab(61.35% 0.0771 -0.1233)
OKLCHoklch(61.35% 0.145 302)
XYZxyz(28.6536, 21.4743, 59.7504)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CCC #A3CC6C
analogous
#6C73CC #956CCC #C56CCC
triadic
#956CCC #CC956C #6CCC95
tetradic
#956CCC #CC6C73 #A3CC6C #6CCCC5
square
#956CCC #CC6C73 #A3CC6C #6CCCC5
split-complementary
#956CCC #CCC56C #73CC6C
monochromatic
#58318D #7541BA #956CCC #B699DC #D7C7EC

Accessibility & contrast

On white

3.97
#956CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#956CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CCC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CCC#FFFFFF#000000##000000
##956CCC1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCF
Deuteranopia (green-blind)
#5A7FCA
Tritanopia (blue-blind)
#8B7D92
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #956ccc;
/* rgb */ color: rgb(149, 108, 204);
/* oklch */ color: oklch(61.4% 0.145 302.0);
Tailwind
colors: {
  custom: {
    50: '#b697dc',
    500: '#956ccc',
    950: '#000000',
  },
}
SCSS
$custom: #956ccc;
$custom-light: #b697dc;
$custom-dark: #000000;
JSON
{
  "hex": "#956ccc",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 204
  },
  "hsl": {
    "h": 265.625,
    "s": 48.485,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6135,
    "c": 0.14541,
    "h": 302
  },
  "luminance": 0.21474
}

Semantic roles & 50–950 ramp

primary
#956CCC
secondary
#CDDCB8
accent
#BC2A7D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #956CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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