#956EA2#956EA2

#956EA2 is a mid, moderate purple. Relative luminance 0.202; OKLCH L 59.6% C 0.089 H 317.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#956EA2
RGBrgb(149, 110, 162)
HSLhsl(285, 22%, 53%)
HSVhsv(285, 32%, 64%)
CMYKcmyk(8%, 32.1%, 0%, 36.5%)
CIE-LABlab(52.01, 25.04, -22.03)
CIE-LCHlch(52.01, 33.35, 318.66°)
OKLaboklab(59.62% 0.0656 -0.0602)
OKLCHoklch(59.62% 0.089 317.5)
XYZxyz(24.4910, 20.1506, 36.7747)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956EA2 #7BA26E
analogous
#7B6EA2 #956EA2 #A26E95
triadic
#956EA2 #A2956E #6EA295
tetradic
#956EA2 #A27B6E #7BA26E #6E95A2
square
#956EA2 #A27B6E #7BA26E #6E95A2
split-complementary
#956EA2 #95A26E #6EA27B
monochromatic
#533A5B #755280 #956EA2 #B093BA #CCB9D2

Accessibility & contrast

On white

4.17
#956EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#956EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956EA2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956EA2#FFFFFF#000000##000000
##956EA21.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6779A4
Deuteranopia (green-blind)
#707DA0
Tritanopia (blue-blind)
#957481
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #956ea2;
/* rgb */ color: rgb(149, 110, 162);
/* oklch */ color: oklch(59.6% 0.089 317.5);
Tailwind
colors: {
  custom: {
    50: '#b598bd',
    500: '#956ea2',
    950: '#000000',
  },
}
SCSS
$custom: #956ea2;
$custom-light: #b598bd;
$custom-dark: #000000;
JSON
{
  "hex": "#956ea2",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 162
  },
  "hsl": {
    "h": 285,
    "s": 21.849,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59618,
    "c": 0.08904,
    "h": 317.5
  },
  "luminance": 0.2015
}

Semantic roles & 50–950 ramp

primary
#956EA2
secondary
#B0C1AB
accent
#BE697F
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110D12
muted
#807E81

Preview Lab

Preview with #956EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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