#956ECB#956ECB

#956ECB is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.6% C 0.141 H 301.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#956ECB
RGBrgb(149, 110, 203)
HSLhsl(265, 47%, 61%)
HSVhsv(265, 46%, 80%)
CMYKcmyk(26.6%, 45.8%, 0%, 20.4%)
CIE-LABlab(53.87, 34.46, -42.76)
CIE-LCHlch(53.87, 54.92, 308.86°)
OKLaboklab(61.64% 0.0742 -0.1198)
OKLCHoklch(61.64% 0.141 301.8)
XYZxyz(28.7474, 21.8532, 59.1919)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956ECB #A4CB6E
analogous
#6E76CB #956ECB #C46ECB
triadic
#956ECB #CB956E #6ECB95
tetradic
#956ECB #CB6E76 #A4CB6E #6ECBC4
square
#956ECB #CB6E76 #A4CB6E #6ECBC4
split-complementary
#956ECB #CBC46E #76CB6E
monochromatic
#58328C #7442B9 #956ECB #B69BDB #D7C8EB

Accessibility & contrast

On white

3.91
#956ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#956ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956ECB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956ECB#FFFFFF#000000##000000
##956ECB1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CE
Deuteranopia (green-blind)
#5D80C9
Tritanopia (blue-blind)
#8B7E93
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #956ecb;
/* rgb */ color: rgb(149, 110, 203);
/* oklch */ color: oklch(61.6% 0.141 301.8);
Tailwind
colors: {
  custom: {
    50: '#b698db',
    500: '#956ecb',
    950: '#000000',
  },
}
SCSS
$custom: #956ecb;
$custom-light: #b698db;
$custom-dark: #000000;
JSON
{
  "hex": "#956ecb",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 203
  },
  "hsl": {
    "h": 265.161,
    "s": 47.208,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61637,
    "c": 0.14089,
    "h": 301.8
  },
  "luminance": 0.21853
}

Semantic roles & 50–950 ramp

primary
#956ECB
secondary
#CDDCB9
accent
#BA2B7E
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #956ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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