#956CCF#956CCF

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

Color values

HEX#956CCF
RGBrgb(149, 108, 207)
HSLhsl(265, 51%, 62%)
HSVhsv(265, 48%, 81%)
CMYKcmyk(28%, 47.8%, 0%, 18.8%)
CIE-LABlab(53.62, 36.58, -45.43)
CIE-LCHlch(53.62, 58.33, 308.84°)
OKLaboklab(61.52% 0.0774 -0.1276)
OKLCHoklch(61.52% 0.149 301.3)
XYZxyz(29.0169, 21.6196, 61.6637)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CCF #A6CF6C
analogous
#6C75CF #956CCF #C66CCF
triadic
#956CCF #CF956C #6CCF95
tetradic
#956CCF #CF6C75 #A6CF6C #6CCFC6
square
#956CCF #CF6C75 #A6CF6C #6CCFC6
split-complementary
#956CCF #CFC66C #75CF6C
monochromatic
#582F91 #743EBF #956CCF #B69ADE #D8C8ED

Accessibility & contrast

On white

3.94
#956CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#956CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CCF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CCF#FFFFFF#000000##000000
##956CCF1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E80D3
Deuteranopia (green-blind)
#5880CD
Tritanopia (blue-blind)
#8A7E94
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #956ccf;
/* rgb */ color: rgb(149, 108, 207);
/* oklch */ color: oklch(61.5% 0.149 301.3);
Tailwind
colors: {
  custom: {
    50: '#b697de',
    500: '#956ccf',
    950: '#000000',
  },
}
SCSS
$custom: #956ccf;
$custom-light: #b697de;
$custom-dark: #000000;
JSON
{
  "hex": "#956ccf",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 207
  },
  "hsl": {
    "h": 264.848,
    "s": 50.769,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61518,
    "c": 0.14923,
    "h": 301.3
  },
  "luminance": 0.2162
}

Semantic roles & 50–950 ramp

primary
#956CCF
secondary
#CFDEB9
accent
#BE2780
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #956CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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