#956BCB#956BCB

#956BCB is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.1% C 0.146 H 302.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#956BCB
RGBrgb(149, 107, 203)
HSLhsl(266, 48%, 61%)
HSVhsv(266, 47%, 80%)
CMYKcmyk(26.6%, 47.3%, 0%, 20.4%)
CIE-LABlab(53.19, 36.17, -43.85)
CIE-LCHlch(53.19, 56.84, 309.52°)
OKLaboklab(61.12% 0.0783 -0.1229)
OKLCHoklch(61.12% 0.146 302.5)
XYZxyz(28.4292, 21.2167, 59.0858)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BCB #A1CB6B
analogous
#6B71CB #956BCB #C56BCB
triadic
#956BCB #CB956B #6BCB95
tetradic
#956BCB #CB6B71 #A1CB6B #6BCBC5
square
#956BCB #CB6B71 #A1CB6B #6BCBC5
split-complementary
#956BCB #CBC56B #71CB6B
monochromatic
#58318B #7541B8 #956BCB #B598DB #D6C6EB

Accessibility & contrast

On white

4.01
#956BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#956BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BCB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BCB#FFFFFF#000000##000000
##956BCB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECE
Deuteranopia (green-blind)
#597FC9
Tritanopia (blue-blind)
#8B7C91
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #956bcb;
/* rgb */ color: rgb(149, 107, 203);
/* oklch */ color: oklch(61.1% 0.146 302.5);
Tailwind
colors: {
  custom: {
    50: '#b696db',
    500: '#956bcb',
    950: '#000000',
  },
}
SCSS
$custom: #956bcb;
$custom-light: #b696db;
$custom-dark: #000000;
JSON
{
  "hex": "#956bcb",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 203
  },
  "hsl": {
    "h": 266.25,
    "s": 48,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61125,
    "c": 0.14576,
    "h": 302.5
  },
  "luminance": 0.21217
}

Semantic roles & 50–950 ramp

primary
#956BCB
secondary
#CBDBB7
accent
#BB2A7C
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #956BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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