#956FAF#956FAF

#956FAF is a mid, moderate violet. Relative luminance 0.209; OKLCH L 60.4% C 0.103 H 310.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#956FAF
RGBrgb(149, 111, 175)
HSLhsl(276, 29%, 56%)
HSVhsv(276, 37%, 69%)
CMYKcmyk(14.9%, 36.6%, 0%, 31.4%)
CIE-LABlab(52.79, 27.30, -28.38)
CIE-LCHlch(52.79, 39.38, 313.89°)
OKLaboklab(60.39% 0.0675 -0.0782)
OKLCHoklch(60.39% 0.103 310.8)
XYZxyz(25.8154, 20.8539, 43.2144)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FAF #89AF6F
analogous
#756FAF #956FAF #AF6FA9
triadic
#956FAF #AF956F #6FAF95
tetradic
#956FAF #AF756F #89AF6F #6FA9AF
square
#956FAF #AF756F #89AF6F #6FA9AF
split-complementary
#956FAF #A9AF6F #6FAF75
monochromatic
#563A69 #765091 #956FAF #B296C5 #CFBEDB

Accessibility & contrast

On white

4.06
#956FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#956FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FAF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FAF#FFFFFF#000000##000000
##956FAF1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#637CB1
Deuteranopia (green-blind)
#6C7FAD
Tritanopia (blue-blind)
#927887
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #956faf;
/* rgb */ color: rgb(149, 111, 175);
/* oklch */ color: oklch(60.4% 0.103 310.8);
Tailwind
colors: {
  custom: {
    50: '#b599c7',
    500: '#956faf',
    950: '#000000',
  },
}
SCSS
$custom: #956faf;
$custom-light: #b599c7;
$custom-dark: #000000;
JSON
{
  "hex": "#956faf",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 175
  },
  "hsl": {
    "h": 275.625,
    "s": 28.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60391,
    "c": 0.10329,
    "h": 310.8
  },
  "luminance": 0.20854
}

Semantic roles & 50–950 ramp

primary
#956FAF
secondary
#BACAB0
accent
#C5638B
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E13
muted
#807E82

Preview Lab

Preview with #956FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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