#956AEF#956AEF

#956AEF is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.1% C 0.192 H 295.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#956AEF
RGBrgb(149, 106, 239)
HSLhsl(259, 81%, 68%)
HSVhsv(259, 56%, 94%)
CMYKcmyk(37.7%, 55.6%, 0%, 6.3%)
CIE-LABlab(55.00, 45.83, -61.25)
CIE-LCHlch(55.00, 76.50, 306.80°)
OKLaboklab(63.13% 0.082 -0.1739)
OKLCHoklch(63.13% 0.192 295.2)
XYZxyz(33.1244, 22.9290, 84.3251)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AEF #C4EF6A
analogous
#6A82EF #956AEF #D76AEF
triadic
#956AEF #EF956A #6AEF95
tetradic
#956AEF #EF6A82 #C4EF6A #6AEFD7
square
#956AEF #EF6A82 #C4EF6A #6AEFD7
split-complementary
#956AEF #EFD76A #82EF6A
monochromatic
#5016C9 #6E33E9 #956AEF #BCA1F5 #E4D9FB

Accessibility & contrast

On white

3.76
#956AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#956AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AEF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AEF#FFFFFF#000000##000000
##956AEF1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2785F3
Deuteranopia (green-blind)
#3782EC
Tritanopia (blue-blind)
#7F86A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #956aef;
/* rgb */ color: rgb(149, 106, 239);
/* oklch */ color: oklch(63.1% 0.192 295.2);
Tailwind
colors: {
  custom: {
    50: '#b996f5',
    500: '#956aef',
    950: '#000000',
  },
}
SCSS
$custom: #956aef;
$custom-light: #b996f5;
$custom-dark: #000000;
JSON
{
  "hex": "#956aef",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 259.398,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63127,
    "c": 0.19227,
    "h": 295.2
  },
  "luminance": 0.2293
}

Semantic roles & 50–950 ramp

primary
#956AEF
secondary
#E2EFC6
accent
#DD0998
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #956AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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