#956CCE#956CCE

#956CCE is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.5% C 0.148 H 301.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#956CCE
RGBrgb(149, 108, 206)
HSLhsl(265, 50%, 62%)
HSVhsv(265, 48%, 81%)
CMYKcmyk(27.7%, 47.6%, 0%, 19.2%)
CIE-LABlab(53.57, 36.34, -44.95)
CIE-LCHlch(53.57, 57.80, 308.95°)
OKLaboklab(61.46% 0.0773 -0.1261)
OKLCHoklch(61.46% 0.148 301.5)
XYZxyz(28.8950, 21.5708, 61.0219)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CCE #A5CE6C
analogous
#6C74CE #956CCE #C66CCE
triadic
#956CCE #CE956C #6CCE95
tetradic
#956CCE #CE6C74 #A5CE6C #6CCEC6
square
#956CCE #CE6C74 #A5CE6C #6CCEC6
split-complementary
#956CCE #CEC66C #74CE6C
monochromatic
#583090 #743FBE #956CCE #B69ADD #D7C8ED

Accessibility & contrast

On white

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

On black

5.31
#956CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CCE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CCE#FFFFFF#000000##000000
##956CCE1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD1
Deuteranopia (green-blind)
#5980CC
Tritanopia (blue-blind)
#8A7E93
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #956cce;
/* rgb */ color: rgb(149, 108, 206);
/* oklch */ color: oklch(61.5% 0.148 301.5);
Tailwind
colors: {
  custom: {
    50: '#b697dd',
    500: '#956cce',
    950: '#000000',
  },
}
SCSS
$custom: #956cce;
$custom-light: #b697dd;
$custom-dark: #000000;
JSON
{
  "hex": "#956cce",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 206
  },
  "hsl": {
    "h": 265.102,
    "s": 50,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61461,
    "c": 0.14795,
    "h": 301.5
  },
  "luminance": 0.21571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #956CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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