#956FA2#956FA2

#956FA2 is a mid, moderate purple. Relative luminance 0.204; OKLCH L 59.8% C 0.087 H 317.3°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#956FA2
RGBrgb(149, 111, 162)
HSLhsl(285, 22%, 54%)
HSVhsv(285, 31%, 64%)
CMYKcmyk(8%, 31.5%, 0%, 36.5%)
CIE-LABlab(52.25, 24.46, -21.65)
CIE-LCHlch(52.25, 32.67, 318.48°)
OKLaboklab(59.8% 0.0641 -0.0591)
OKLCHoklch(59.8% 0.087 317.3)
XYZxyz(24.5995, 20.3676, 36.8109)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FA2 #7CA26F
analogous
#7B6FA2 #956FA2 #A26F95
triadic
#956FA2 #A2956F #6FA295
tetradic
#956FA2 #A27B6F #7CA26F #6F95A2
square
#956FA2 #A27B6F #7CA26F #6F95A2
split-complementary
#956FA2 #95A26F #6FA27B
monochromatic
#533B5C #755381 #956FA2 #B094BA #CCB9D2

Accessibility & contrast

On white

4.14
#956FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#956FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FA2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FA2#FFFFFF#000000##000000
##956FA21.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#687AA4
Deuteranopia (green-blind)
#717EA0
Tritanopia (blue-blind)
#957581
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #956fa2;
/* rgb */ color: rgb(149, 111, 162);
/* oklch */ color: oklch(59.8% 0.087 317.3);
Tailwind
colors: {
  custom: {
    50: '#b598bd',
    500: '#956fa2',
    950: '#000000',
  },
}
SCSS
$custom: #956fa2;
$custom-light: #b598bd;
$custom-dark: #000000;
JSON
{
  "hex": "#956fa2",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 162
  },
  "hsl": {
    "h": 284.706,
    "s": 21.519,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59804,
    "c": 0.08717,
    "h": 317.3
  },
  "luminance": 0.20367
}

Semantic roles & 50–950 ramp

primary
#956FA2
secondary
#B1C1AB
accent
#BE6A7F
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110E12
muted
#807E81

Preview Lab

Preview with #956FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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