#956EBA#956EBA

#956EBA is a mid, moderate violet. Relative luminance 0.211; OKLCH L 60.7% C 0.119 H 306.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#956EBA
RGBrgb(149, 110, 186)
HSLhsl(271, 36%, 58%)
HSVhsv(271, 41%, 73%)
CMYKcmyk(19.9%, 40.9%, 0%, 27.1%)
CIE-LABlab(53.04, 30.39, -34.33)
CIE-LCHlch(53.04, 45.85, 311.52°)
OKLaboklab(60.75% 0.0713 -0.0953)
OKLCHoklch(60.75% 0.119 306.8)
XYZxyz(26.8315, 21.0868, 49.1015)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956EBA #93BA6E
analogous
#6F6EBA #956EBA #BA6EB9
triadic
#956EBA #BA956E #6EBA95
tetradic
#956EBA #BA6F6E #93BA6E #6EB9BA
square
#956EBA #BA6F6E #93BA6E #6EB9BA
split-complementary
#956EBA #B9BA6E #6EBA6F
monochromatic
#583876 #764C9F #956EBA #B397CE #D2C1E1

Accessibility & contrast

On white

4.02
#956EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#956EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956EBA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956EBA#FFFFFF#000000##000000
##956EBA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBD
Deuteranopia (green-blind)
#667FB8
Tritanopia (blue-blind)
#907A8B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #956eba;
/* rgb */ color: rgb(149, 110, 186);
/* oklch */ color: oklch(60.7% 0.119 306.8);
Tailwind
colors: {
  custom: {
    50: '#b598cf',
    500: '#956eba',
    950: '#000000',
  },
}
SCSS
$custom: #956eba;
$custom-light: #b598cf;
$custom-dark: #000000;
JSON
{
  "hex": "#956eba",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 186
  },
  "hsl": {
    "h": 270.789,
    "s": 35.514,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60746,
    "c": 0.11906,
    "h": 306.8
  },
  "luminance": 0.21087
}

Semantic roles & 50–950 ramp

primary
#956EBA
secondary
#C1D1B3
accent
#CC5C92
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #956EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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