#956ACE#956ACE

#956ACE is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.1% C 0.151 H 302.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#956ACE
RGBrgb(149, 106, 206)
HSLhsl(266, 51%, 61%)
HSVhsv(266, 49%, 81%)
CMYKcmyk(27.7%, 48.5%, 0%, 19.2%)
CIE-LABlab(53.12, 37.47, -45.66)
CIE-LCHlch(53.12, 59.07, 309.37°)
OKLaboklab(61.12% 0.08 -0.1282)
OKLCHoklch(61.12% 0.151 302)
XYZxyz(28.6865, 21.1538, 60.9524)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956ACE #A3CE6A
analogous
#6A71CE #956ACE #C76ACE
triadic
#956ACE #CE956A #6ACE95
tetradic
#956ACE #CE6A71 #A3CE6A #6ACEC7
square
#956ACE #CE6A71 #A3CE6A #6ACEC7
split-complementary
#956ACE #CEC76A #71CE6A
monochromatic
#582F8F #753EBD #956ACE #B698DD #D7C6EC

Accessibility & contrast

On white

4.01
#956ACE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#956ACE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956ACE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956ACE#FFFFFF#000000##000000
##956ACE1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED2
Deuteranopia (green-blind)
#567ECC
Tritanopia (blue-blind)
#8A7C92
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #956ace;
/* rgb */ color: rgb(149, 106, 206);
/* oklch */ color: oklch(61.1% 0.151 302.0);
Tailwind
colors: {
  custom: {
    50: '#b795dd',
    500: '#956ace',
    950: '#000000',
  },
}
SCSS
$custom: #956ace;
$custom-light: #b795dd;
$custom-dark: #000000;
JSON
{
  "hex": "#956ace",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 206
  },
  "hsl": {
    "h": 265.8,
    "s": 50.505,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61124,
    "c": 0.15115,
    "h": 302
  },
  "luminance": 0.21154
}

Semantic roles & 50–950 ramp

primary
#956ACE
secondary
#CDDDB7
accent
#BE287D
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #956ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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