#956DAF#956DAF

#956DAF is a mid, moderate violet. Relative luminance 0.204; OKLCH L 60.0% C 0.107 H 311.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#956DAF
RGBrgb(149, 109, 175)
HSLhsl(276, 29%, 56%)
HSVhsv(276, 38%, 69%)
CMYKcmyk(14.9%, 37.7%, 0%, 31.4%)
CIE-LABlab(52.31, 28.45, -29.12)
CIE-LCHlch(52.31, 40.71, 314.34°)
OKLaboklab(60.03% 0.0705 -0.0803)
OKLCHoklch(60.03% 0.107 311.3)
XYZxyz(25.5996, 20.4224, 43.1425)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DAF #87AF6D
analogous
#746DAF #956DAF #AF6DA8
triadic
#956DAF #AF956D #6DAF95
tetradic
#956DAF #AF746D #87AF6D #6DA8AF
square
#956DAF #AF746D #87AF6D #6DA8AF
split-complementary
#956DAF #A8AF6D #6DAF74
monochromatic
#563968 #764F90 #956DAF #B295C5 #CEBCDA

Accessibility & contrast

On white

4.13
#956DAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#956DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DAF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DAF#FFFFFF#000000##000000
##956DAF1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#617BB2
Deuteranopia (green-blind)
#6A7EAD
Tritanopia (blue-blind)
#927686
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #956daf;
/* rgb */ color: rgb(149, 109, 175);
/* oklch */ color: oklch(60.0% 0.107 311.3);
Tailwind
colors: {
  custom: {
    50: '#b597c7',
    500: '#956daf',
    950: '#000000',
  },
}
SCSS
$custom: #956daf;
$custom-light: #b597c7;
$custom-dark: #000000;
JSON
{
  "hex": "#956daf",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 175
  },
  "hsl": {
    "h": 276.364,
    "s": 29.204,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60029,
    "c": 0.10687,
    "h": 311.3
  },
  "luminance": 0.20422
}

Semantic roles & 50–950 ramp

primary
#956DAF
secondary
#B9CAAE
accent
#C56289
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #956DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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