#956DCF#956DCF

#956DCF is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.7% C 0.148 H 301.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#956DCF
RGBrgb(149, 109, 207)
HSLhsl(264, 51%, 62%)
HSVhsv(264, 47%, 81%)
CMYKcmyk(28%, 47.3%, 0%, 18.8%)
CIE-LABlab(53.85, 36.01, -45.07)
CIE-LCHlch(53.85, 57.69, 308.62°)
OKLaboklab(61.69% 0.0761 -0.1265)
OKLCHoklch(61.69% 0.148 301)
XYZxyz(29.1230, 21.8317, 61.6990)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DCF #A7CF6D
analogous
#6D76CF #956DCF #C66DCF
triadic
#956DCF #CF956D #6DCF95
tetradic
#956DCF #CF6D76 #A7CF6D #6DCFC6
square
#956DCF #CF6D76 #A7CF6D #6DCFC6
split-complementary
#956DCF #CFC66D #76CF6D
monochromatic
#583092 #743FC0 #956DCF #B69BDE #D8C9ED

Accessibility & contrast

On white

3.91
#956DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#956DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DCF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DCF#FFFFFF#000000##000000
##956DCF1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D2
Deuteranopia (green-blind)
#5980CD
Tritanopia (blue-blind)
#8A7F94
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #956dcf;
/* rgb */ color: rgb(149, 109, 207);
/* oklch */ color: oklch(61.7% 0.148 301.0);
Tailwind
colors: {
  custom: {
    50: '#b697de',
    500: '#956dcf',
    950: '#000000',
  },
}
SCSS
$custom: #956dcf;
$custom-light: #b697de;
$custom-dark: #000000;
JSON
{
  "hex": "#956dcf",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 207
  },
  "hsl": {
    "h": 264.49,
    "s": 50.515,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61687,
    "c": 0.14762,
    "h": 301
  },
  "luminance": 0.21832
}

Semantic roles & 50–950 ramp

primary
#956DCF
secondary
#CFDEBA
accent
#BE2881
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #956DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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