#956FAC#956FAC

#956FAC is a mid, moderate violet. Relative luminance 0.207; OKLCH L 60.3% C 0.100 H 312.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#956FAC
RGBrgb(149, 111, 172)
HSLhsl(277, 27%, 55%)
HSVhsv(277, 35%, 67%)
CMYKcmyk(13.4%, 35.5%, 0%, 32.5%)
CIE-LABlab(52.66, 26.63, -26.84)
CIE-LCHlch(52.66, 37.81, 314.78°)
OKLaboklab(60.25% 0.0667 -0.0738)
OKLCHoklch(60.25% 0.1 312.1)
XYZxyz(25.5240, 20.7374, 41.6798)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FAC #86AC6F
analogous
#766FAC #956FAC #AC6FA4
triadic
#956FAC #AC956F #6FAC95
tetradic
#956FAC #AC766F #86AC6F #6FA4AC
square
#956FAC #AC766F #86AC6F #6FA4AC
split-complementary
#956FAC #A4AC6F #6FAC76
monochromatic
#563B66 #76518D #956FAC #B296C2 #CEBDD9

Accessibility & contrast

On white

4.08
#956FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#956FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FAC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FAC#FFFFFF#000000##000000
##956FAC1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#647CAE
Deuteranopia (green-blind)
#6D7FAA
Tritanopia (blue-blind)
#937786
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #956fac;
/* rgb */ color: rgb(149, 111, 172);
/* oklch */ color: oklch(60.3% 0.100 312.1);
Tailwind
colors: {
  custom: {
    50: '#b599c5',
    500: '#956fac',
    950: '#000000',
  },
}
SCSS
$custom: #956fac;
$custom-light: #b599c5;
$custom-dark: #000000;
JSON
{
  "hex": "#956fac",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 277.377,
    "s": 26.872,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60251,
    "c": 0.09951,
    "h": 312.1
  },
  "luminance": 0.20737
}

Semantic roles & 50–950 ramp

primary
#956FAC
secondary
#B8C8AF
accent
#C36588
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E13
muted
#807E82

Preview Lab

Preview with #956FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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