#956AEB#956AEB

#956AEB is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.9% C 0.187 H 295.9°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#956AEB
RGBrgb(149, 106, 235)
HSLhsl(260, 76%, 67%)
HSVhsv(260, 55%, 92%)
CMYKcmyk(36.6%, 54.9%, 0%, 7.8%)
CIE-LABlab(54.76, 44.79, -59.41)
CIE-LCHlch(54.76, 74.40, 307.02°)
OKLaboklab(62.87% 0.0819 -0.1685)
OKLCHoklch(62.87% 0.187 295.9)
XYZxyz(32.5400, 22.6952, 81.2474)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AEB #C0EB6A
analogous
#6A80EB #956AEB #D66AEB
triadic
#956AEB #EB956A #6AEB95
tetradic
#956AEB #EB6A80 #C0EB6A #6AEBD6
square
#956AEB #EB6A80 #C0EB6A #6AEBD6
split-complementary
#956AEB #EBD66A #80EB6A
monochromatic
#511AC1 #6F34E4 #956AEB #BBA0F2 #E2D6F9

Accessibility & contrast

On white

3.79
#956AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#956AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AEB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AEB#FFFFFF#000000##000000
##956AEB1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E84EF
Deuteranopia (green-blind)
#3C81E8
Tritanopia (blue-blind)
#8185A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #956aeb;
/* rgb */ color: rgb(149, 106, 235);
/* oklch */ color: oklch(62.9% 0.187 295.9);
Tailwind
colors: {
  custom: {
    50: '#b996f2',
    500: '#956aeb',
    950: '#000000',
  },
}
SCSS
$custom: #956aeb;
$custom-light: #b996f2;
$custom-dark: #000000;
JSON
{
  "hex": "#956aeb",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 260,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6287,
    "c": 0.18735,
    "h": 295.9
  },
  "luminance": 0.22696
}

Semantic roles & 50–950 ramp

primary
#956AEB
secondary
#DFEDC4
accent
#D90D95
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #956AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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