#956EA7#956EA7

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

Color values

HEX#956EA7
RGBrgb(149, 110, 167)
HSLhsl(281, 24%, 54%)
HSVhsv(281, 34%, 65%)
CMYKcmyk(10.8%, 34.1%, 0%, 34.5%)
CIE-LABlab(52.21, 26.11, -24.63)
CIE-LCHlch(52.21, 35.89, 316.67°)
OKLaboklab(59.84% 0.067 -0.0675)
OKLCHoklch(59.84% 0.095 314.8)
XYZxyz(24.9443, 20.3319, 39.1621)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956EA7 #80A76E
analogous
#796EA7 #956EA7 #A76E9D
triadic
#956EA7 #A7956E #6EA795
tetradic
#956EA7 #A7796E #80A76E #6E9DA7
square
#956EA7 #A7796E #80A76E #6E9DA7
split-complementary
#956EA7 #9DA76E #6EA779
monochromatic
#543A60 #765286 #956EA7 #B194BE #CDBAD5

Accessibility & contrast

On white

4.15
#956EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##956EA7#FFFFFF#000000##000000
##956EA71.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#657AA9
Deuteranopia (green-blind)
#6E7EA5
Tritanopia (blue-blind)
#947583
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #956ea7;
/* rgb */ color: rgb(149, 110, 167);
/* oklch */ color: oklch(59.8% 0.095 314.8);
Tailwind
colors: {
  custom: {
    50: '#b598c1',
    500: '#956ea7',
    950: '#000000',
  },
}
SCSS
$custom: #956ea7;
$custom-light: #b598c1;
$custom-dark: #000000;
JSON
{
  "hex": "#956ea7",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 167
  },
  "hsl": {
    "h": 281.053,
    "s": 24.464,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5984,
    "c": 0.09511,
    "h": 314.8
  },
  "luminance": 0.20331
}

Semantic roles & 50–950 ramp

primary
#956EA7
secondary
#B4C4AC
accent
#C16783
background
#FBF9FB
surface
#F6F2F7
border
#D0CCD0
text
#110D12
muted
#807E81

Preview Lab

Preview with #956EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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