#956EA4#956EA4

#956EA4 is a mid, moderate purple. Relative luminance 0.202; OKLCH L 59.7% C 0.091 H 316.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#956EA4
RGBrgb(149, 110, 164)
HSLhsl(283, 23%, 54%)
HSVhsv(283, 33%, 64%)
CMYKcmyk(9.1%, 32.9%, 0%, 35.7%)
CIE-LABlab(52.09, 25.46, -23.07)
CIE-LCHlch(52.09, 34.36, 317.82°)
OKLaboklab(59.71% 0.0662 -0.0631)
OKLCHoklch(59.71% 0.091 316.4)
XYZxyz(24.6702, 20.2223, 37.7185)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956EA4 #7DA46E
analogous
#7A6EA4 #956EA4 #A46E98
triadic
#956EA4 #A4956E #6EA495
tetradic
#956EA4 #A47A6E #7DA46E #6E98A4
square
#956EA4 #A47A6E #7DA46E #6E98A4
split-complementary
#956EA4 #98A46E #6EA47A
monochromatic
#543A5D #755283 #956EA4 #B094BC #CCB9D3

Accessibility & contrast

On white

4.16
#956EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#956EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956EA4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956EA4#FFFFFF#000000##000000
##956EA41.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#667AA6
Deuteranopia (green-blind)
#6F7DA2
Tritanopia (blue-blind)
#957582
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #956ea4;
/* rgb */ color: rgb(149, 110, 164);
/* oklch */ color: oklch(59.7% 0.091 316.4);
Tailwind
colors: {
  custom: {
    50: '#b598bf',
    500: '#956ea4',
    950: '#000000',
  },
}
SCSS
$custom: #956ea4;
$custom-light: #b598bf;
$custom-dark: #000000;
JSON
{
  "hex": "#956ea4",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 164
  },
  "hsl": {
    "h": 283.333,
    "s": 22.881,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59706,
    "c": 0.09145,
    "h": 316.4
  },
  "luminance": 0.20222
}

Semantic roles & 50–950 ramp

primary
#956EA4
secondary
#B2C2AB
accent
#BF6881
background
#FBF9FB
surface
#F6F2F7
border
#D0CCD0
text
#110D12
muted
#807E81

Preview Lab

Preview with #956EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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