#956AE6#956AE6

#956AE6 is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.6% C 0.181 H 296.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#956AE6
RGBrgb(149, 106, 230)
HSLhsl(261, 71%, 66%)
HSVhsv(261, 54%, 90%)
CMYKcmyk(35.2%, 53.9%, 0%, 9.8%)
CIE-LABlab(54.46, 43.51, -57.09)
CIE-LCHlch(54.46, 71.77, 307.31°)
OKLaboklab(62.56% 0.0818 -0.1617)
OKLCHoklch(62.56% 0.181 296.8)
XYZxyz(31.8278, 22.4103, 77.4963)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AE6 #BBE66A
analogous
#6A7DE6 #956AE6 #D36AE6
triadic
#956AE6 #E6956A #6AE695
tetradic
#956AE6 #E66A7D #BBE66A #6AE6D3
square
#956AE6 #E66A7D #BBE66A #6AE6D3
split-complementary
#956AE6 #E6D36A #7DE66A
monochromatic
#531FB7 #7036DD #956AE6 #BA9EEF #E0D3F8

Accessibility & contrast

On white

3.83
#956AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#956AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AE6
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AE6#FFFFFF#000000##000000
##956AE61.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3583EA
Deuteranopia (green-blind)
#4281E3
Tritanopia (blue-blind)
#82839E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #956ae6;
/* rgb */ color: rgb(149, 106, 230);
/* oklch */ color: oklch(62.6% 0.181 296.8);
Tailwind
colors: {
  custom: {
    50: '#b896ee',
    500: '#956ae6',
    950: '#000000',
  },
}
SCSS
$custom: #956ae6;
$custom-light: #b896ee;
$custom-dark: #000000;
JSON
{
  "hex": "#956ae6",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 230
  },
  "hsl": {
    "h": 260.806,
    "s": 71.264,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62555,
    "c": 0.18117,
    "h": 296.8
  },
  "luminance": 0.22411
}

Semantic roles & 50–950 ramp

primary
#956AE6
secondary
#DCEAC1
accent
#D31290
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #956AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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