#956BCA#956BCA

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

Color values

HEX#956BCA
RGBrgb(149, 107, 202)
HSLhsl(267, 47%, 61%)
HSVhsv(267, 47%, 79%)
CMYKcmyk(26.2%, 47%, 0%, 20.8%)
CIE-LABlab(53.13, 35.93, -43.36)
CIE-LCHlch(53.13, 56.31, 309.64°)
OKLaboklab(61.07% 0.0782 -0.1215)
OKLCHoklch(61.07% 0.144 302.8)
XYZxyz(28.3104, 21.1692, 58.4603)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BCA #A0CA6B
analogous
#6B70CA #956BCA #C46BCA
triadic
#956BCA #CA956B #6BCA95
tetradic
#956BCA #CA6B70 #A0CA6B #6BCAC4
square
#956BCA #CA6B70 #A0CA6B #6BCAC4
split-complementary
#956BCA #CAC46B #70CA6B
monochromatic
#583189 #7541B6 #956BCA #B598DA #D6C5EA

Accessibility & contrast

On white

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

On black

5.23
#956BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BCA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BCA#FFFFFF#000000##000000
##956BCA1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#507ECD
Deuteranopia (green-blind)
#5A7FC8
Tritanopia (blue-blind)
#8C7C91
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #956bca;
/* rgb */ color: rgb(149, 107, 202);
/* oklch */ color: oklch(61.1% 0.144 302.8);
Tailwind
colors: {
  custom: {
    50: '#b696da',
    500: '#956bca',
    950: '#000000',
  },
}
SCSS
$custom: #956bca;
$custom-light: #b696da;
$custom-dark: #000000;
JSON
{
  "hex": "#956bca",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 202
  },
  "hsl": {
    "h": 266.526,
    "s": 47.264,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61069,
    "c": 0.14449,
    "h": 302.8
  },
  "luminance": 0.21169
}

Semantic roles & 50–950 ramp

primary
#956BCA
secondary
#CADAB6
accent
#BB2B7B
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #956BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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