#956AAA#956AAA

#956AAA is a mid, moderate purple. Relative luminance 0.196; OKLCH L 59.3% C 0.106 H 314.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#956AAA
RGBrgb(149, 106, 170)
HSLhsl(280, 27%, 54%)
HSVhsv(280, 38%, 67%)
CMYKcmyk(12.4%, 37.6%, 0%, 33.3%)
CIE-LABlab(51.38, 29.07, -27.66)
CIE-LCHlch(51.38, 40.13, 316.43°)
OKLaboklab(59.25% 0.0739 -0.0761)
OKLCHoklch(59.25% 0.106 314.1)
XYZxyz(24.8030, 19.6004, 40.4991)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AAA #7FAA6A
analogous
#756AAA #956AAA #AA6A9F
triadic
#956AAA #AA956A #6AAA95
tetradic
#956AAA #AA756A #7FAA6A #6A9FAA
square
#956AAA #AA756A #7FAA6A #6A9FAA
split-complementary
#956AAA #9FAA6A #6AAA75
monochromatic
#543862 #754E89 #956AAA #B191C0 #CCB8D6

Accessibility & contrast

On white

4.27
#956AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#956AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AAA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AAA#FFFFFF#000000##000000
##956AAA1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F78AC
Deuteranopia (green-blind)
#6A7CA8
Tritanopia (blue-blind)
#947382
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #956aaa;
/* rgb */ color: rgb(149, 106, 170);
/* oklch */ color: oklch(59.3% 0.106 314.1);
Tailwind
colors: {
  custom: {
    50: '#b595c3',
    500: '#956aaa',
    950: '#000000',
  },
}
SCSS
$custom: #956aaa;
$custom-light: #b595c3;
$custom-dark: #000000;
JSON
{
  "hex": "#956aaa",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 280.313,
    "s": 27.35,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59254,
    "c": 0.10609,
    "h": 314.1
  },
  "luminance": 0.196
}

Semantic roles & 50–950 ramp

primary
#956AAA
secondary
#B3C6AA
accent
#C46483
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D12
muted
#807E81

Preview Lab

Preview with #956AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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