#956FBC#956FBC

#956FBC is a mid, moderate violet. Relative luminance 0.214; OKLCH L 61.0% C 0.120 H 305.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#956FBC
RGBrgb(149, 111, 188)
HSLhsl(270, 36%, 59%)
HSVhsv(270, 41%, 74%)
CMYKcmyk(20.7%, 41%, 0%, 26.3%)
CIE-LABlab(53.37, 30.29, -34.96)
CIE-LCHlch(53.37, 46.26, 310.90°)
OKLaboklab(61.02% 0.0703 -0.0972)
OKLCHoklch(61.02% 0.12 305.9)
XYZxyz(27.1541, 21.3895, 50.2653)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FBC #96BC6F
analogous
#6F6FBC #956FBC #BB6FBC
triadic
#956FBC #BC956F #6FBC95
tetradic
#956FBC #BC6F6F #96BC6F #6FBCBB
square
#956FBC #BC6F6F #96BC6F #6FBCBB
split-complementary
#956FBC #BCBB6F #6FBC6F
monochromatic
#583879 #764CA2 #956FBC #B499CF #D2C3E3

Accessibility & contrast

On white

3.98
#956FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#956FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FBC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FBC#FFFFFF#000000##000000
##956FBC1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBF
Deuteranopia (green-blind)
#6680BA
Tritanopia (blue-blind)
#8F7B8C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #956fbc;
/* rgb */ color: rgb(149, 111, 188);
/* oklch */ color: oklch(61.0% 0.120 305.9);
Tailwind
colors: {
  custom: {
    50: '#b599d0',
    500: '#956fbc',
    950: '#000000',
  },
}
SCSS
$custom: #956fbc;
$custom-light: #b599d0;
$custom-dark: #000000;
JSON
{
  "hex": "#956fbc",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 188
  },
  "hsl": {
    "h": 269.61,
    "s": 36.493,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61024,
    "c": 0.1199,
    "h": 305.9
  },
  "luminance": 0.21389
}

Semantic roles & 50–950 ramp

primary
#956FBC
secondary
#C4D3B4
accent
#CC5B95
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #956FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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