#956BA2#956BA2

#956BA2 is a mid, moderate purple. Relative luminance 0.195; OKLCH L 59.1% C 0.095 H 318.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#956BA2
RGBrgb(149, 107, 162)
HSLhsl(286, 23%, 53%)
HSVhsv(286, 34%, 64%)
CMYKcmyk(8%, 34%, 0%, 36.5%)
CIE-LABlab(51.28, 26.77, -23.14)
CIE-LCHlch(51.28, 35.39, 319.16°)
OKLaboklab(59.07% 0.0703 -0.0633)
OKLCHoklch(59.07% 0.095 318)
XYZxyz(24.1728, 19.5142, 36.6686)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BA2 #78A26B
analogous
#796BA2 #956BA2 #A26B94
triadic
#956BA2 #A2956B #6BA295
tetradic
#956BA2 #A2796B #78A26B #6B94A2
square
#956BA2 #A2796B #78A26B #6B94A2
split-complementary
#956BA2 #94A26B #6BA279
monochromatic
#52395A #745080 #956BA2 #B091BA #CBB6D1

Accessibility & contrast

On white

4.28
#956BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#956BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BA2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BA2#FFFFFF#000000##000000
##956BA21.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6477A4
Deuteranopia (green-blind)
#6E7CA0
Tritanopia (blue-blind)
#95717F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #956ba2;
/* rgb */ color: rgb(149, 107, 162);
/* oklch */ color: oklch(59.1% 0.095 318.0);
Tailwind
colors: {
  custom: {
    50: '#b596bd',
    500: '#956ba2',
    950: '#000000',
  },
}
SCSS
$custom: #956ba2;
$custom-light: #b596bd;
$custom-dark: #000000;
JSON
{
  "hex": "#956ba2",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 162
  },
  "hsl": {
    "h": 285.818,
    "s": 22.822,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59068,
    "c": 0.09461,
    "h": 318
  },
  "luminance": 0.19514
}

Semantic roles & 50–950 ramp

primary
#956BA2
secondary
#AEC0A8
accent
#BF687D
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110D12
muted
#807E81

Preview Lab

Preview with #956BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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