#956DCE#956DCE

#956DCE is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.6% C 0.146 H 301.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#956DCE
RGBrgb(149, 109, 206)
HSLhsl(265, 50%, 62%)
HSVhsv(265, 47%, 81%)
CMYKcmyk(27.7%, 47.1%, 0%, 19.2%)
CIE-LABlab(53.80, 35.77, -44.59)
CIE-LCHlch(53.80, 57.16, 308.74°)
OKLaboklab(61.63% 0.076 -0.1251)
OKLCHoklch(61.63% 0.146 301.3)
XYZxyz(29.0011, 21.7830, 61.0572)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DCE #A6CE6D
analogous
#6D76CE #956DCE #C66DCE
triadic
#956DCE #CE956D #6DCE95
tetradic
#956DCE #CE6D76 #A6CE6D #6DCEC6
square
#956DCE #CE6D76 #A6CE6D #6DCEC6
split-complementary
#956DCE #CEC66D #76CE6D
monochromatic
#583090 #7440BE #956DCE #B69BDD #D8C9ED

Accessibility & contrast

On white

3.92
#956DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#956DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DCE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DCE#FFFFFF#000000##000000
##956DCE1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D1
Deuteranopia (green-blind)
#5A80CC
Tritanopia (blue-blind)
#8A7E94
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #956dce;
/* rgb */ color: rgb(149, 109, 206);
/* oklch */ color: oklch(61.6% 0.146 301.3);
Tailwind
colors: {
  custom: {
    50: '#b697dd',
    500: '#956dce',
    950: '#000000',
  },
}
SCSS
$custom: #956dce;
$custom-light: #b697dd;
$custom-dark: #000000;
JSON
{
  "hex": "#956dce",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 206
  },
  "hsl": {
    "h": 264.742,
    "s": 49.744,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61631,
    "c": 0.14634,
    "h": 301.3
  },
  "luminance": 0.21783
}

Semantic roles & 50–950 ramp

primary
#956DCE
secondary
#CFDDB9
accent
#BD2880
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #956DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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