#956EA8#956EA8

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

Color values

HEX#956EA8
RGBrgb(149, 110, 168)
HSLhsl(280, 25%, 55%)
HSVhsv(280, 35%, 66%)
CMYKcmyk(11.3%, 34.5%, 0%, 34.1%)
CIE-LABlab(52.25, 26.33, -25.15)
CIE-LCHlch(52.25, 36.41, 316.32°)
OKLaboklab(59.89% 0.0672 -0.069)
OKLCHoklch(59.89% 0.096 314.3)
XYZxyz(25.0371, 20.3690, 39.6509)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956EA8 #81A86E
analogous
#786EA8 #956EA8 #A86E9E
triadic
#956EA8 #A8956E #6EA895
tetradic
#956EA8 #A8786E #81A86E #6E9EA8
square
#956EA8 #A8786E #81A86E #6E9EA8
split-complementary
#956EA8 #9EA86E #6EA878
monochromatic
#553A61 #765188 #956EA8 #B194BF #CDBBD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##956EA8#FFFFFF#000000##000000
##956EA81.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)
#657AAA
Deuteranopia (green-blind)
#6E7EA6
Tritanopia (blue-blind)
#947583
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #956ea8;
/* rgb */ color: rgb(149, 110, 168);
/* oklch */ color: oklch(59.9% 0.096 314.3);
Tailwind
colors: {
  custom: {
    50: '#b598c2',
    500: '#956ea8',
    950: '#000000',
  },
}
SCSS
$custom: #956ea8;
$custom-light: #b598c2;
$custom-dark: #000000;
JSON
{
  "hex": "#956ea8",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 168
  },
  "hsl": {
    "h": 280.345,
    "s": 25,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59885,
    "c": 0.09634,
    "h": 314.3
  },
  "luminance": 0.20369
}

Semantic roles & 50–950 ramp

primary
#956EA8
secondary
#B5C5AD
accent
#C16684
background
#FBF9FB
surface
#F6F2F7
border
#D0CCD0
text
#110D12
muted
#807E81

Preview Lab

Preview with #956EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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