#956AEC#956AEC

#956AEC is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.9% C 0.189 H 295.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#956AEC
RGBrgb(149, 106, 236)
HSLhsl(260, 77%, 67%)
HSVhsv(260, 55%, 93%)
CMYKcmyk(36.9%, 55.1%, 0%, 7.5%)
CIE-LABlab(54.82, 45.05, -59.87)
CIE-LCHlch(54.82, 74.93, 306.96°)
OKLaboklab(62.93% 0.082 -0.1698)
OKLCHoklch(62.93% 0.189 295.8)
XYZxyz(32.6849, 22.7532, 82.0104)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AEC #C1EC6A
analogous
#6A80EC #956AEC #D66AEC
triadic
#956AEC #EC956A #6AEC95
tetradic
#956AEC #EC6A80 #C1EC6A #6AECD6
square
#956AEC #EC6A80 #C1EC6A #6AECD6
split-complementary
#956AEC #ECD66A #80EC6A
monochromatic
#5119C3 #6E34E5 #956AEC #BCA0F3 #E2D7FA

Accessibility & contrast

On white

3.78
#956AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#956AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AEC
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AEC#FFFFFF#000000##000000
##956AEC1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C84F0
Deuteranopia (green-blind)
#3B81E9
Tritanopia (blue-blind)
#8085A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #956aec;
/* rgb */ color: rgb(149, 106, 236);
/* oklch */ color: oklch(62.9% 0.189 295.8);
Tailwind
colors: {
  custom: {
    50: '#b996f3',
    500: '#956aec',
    950: '#000000',
  },
}
SCSS
$custom: #956aec;
$custom-light: #b996f3;
$custom-dark: #000000;
JSON
{
  "hex": "#956aec",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 259.846,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.62934,
    "c": 0.18858,
    "h": 295.8
  },
  "luminance": 0.22754
}

Semantic roles & 50–950 ramp

primary
#956AEC
secondary
#E0EEC4
accent
#DA0C96
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #956AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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