#956DCD#956DCD

#956DCD is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.6% C 0.145 H 301.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#956DCD
RGBrgb(149, 109, 205)
HSLhsl(265, 49%, 62%)
HSVhsv(265, 47%, 80%)
CMYKcmyk(27.3%, 46.8%, 0%, 19.6%)
CIE-LABlab(53.74, 35.52, -44.10)
CIE-LCHlch(53.74, 56.63, 308.85°)
OKLaboklab(61.58% 0.0758 -0.1237)
OKLCHoklch(61.58% 0.145 301.5)
XYZxyz(28.8800, 21.7346, 60.4195)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DCD #A5CD6D
analogous
#6D75CD #956DCD #C56DCD
triadic
#956DCD #CD956D #6DCD95
tetradic
#956DCD #CD6D75 #A5CD6D #6DCDC5
square
#956DCD #CD6D75 #A5CD6D #6DCDC5
split-complementary
#956DCD #CDC56D #75CD6D
monochromatic
#58318F #7440BC #956DCD #B69BDD #D7C8EC

Accessibility & contrast

On white

3.93
#956DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#956DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DCD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DCD#FFFFFF#000000##000000
##956DCD1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180D0
Deuteranopia (green-blind)
#5A80CB
Tritanopia (blue-blind)
#8B7E93
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #956dcd;
/* rgb */ color: rgb(149, 109, 205);
/* oklch */ color: oklch(61.6% 0.145 301.5);
Tailwind
colors: {
  custom: {
    50: '#b697dd',
    500: '#956dcd',
    950: '#000000',
  },
}
SCSS
$custom: #956dcd;
$custom-light: #b697dd;
$custom-dark: #000000;
JSON
{
  "hex": "#956dcd",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 265,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61576,
    "c": 0.14507,
    "h": 301.5
  },
  "luminance": 0.21735
}

Semantic roles & 50–950 ramp

primary
#956DCD
secondary
#CEDDB9
accent
#BC297F
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #956DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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