#956AE3#956AE3

#956AE3 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.4% C 0.177 H 297.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#956AE3
RGBrgb(149, 106, 227)
HSLhsl(261, 68%, 65%)
HSVhsv(261, 53%, 89%)
CMYKcmyk(34.4%, 53.3%, 0%, 11%)
CIE-LABlab(54.28, 42.74, -55.68)
CIE-LCHlch(54.28, 70.19, 307.51°)
OKLaboklab(62.37% 0.0817 -0.1575)
OKLCHoklch(62.37% 0.177 297.4)
XYZxyz(31.4101, 22.2433, 75.2967)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AE3 #B8E36A
analogous
#6A7BE3 #956AE3 #D16AE3
triadic
#956AE3 #E3956A #6AE395
tetradic
#956AE3 #E36A7B #B8E36A #6AE3D1
square
#956AE3 #E36A7B #B8E36A #6AE3D1
split-complementary
#956AE3 #E3D16A #7BE36A
monochromatic
#5421B1 #7036D9 #956AE3 #BA9EED #DED1F6

Accessibility & contrast

On white

3.85
#956AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#956AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AE3
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AE3#FFFFFF#000000##000000
##956AE31.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3882E7
Deuteranopia (green-blind)
#4580E0
Tritanopia (blue-blind)
#84829C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #956ae3;
/* rgb */ color: rgb(149, 106, 227);
/* oklch */ color: oklch(62.4% 0.177 297.4);
Tailwind
colors: {
  custom: {
    50: '#b896ec',
    500: '#956ae3',
    950: '#000000',
  },
}
SCSS
$custom: #956ae3;
$custom-light: #b896ec;
$custom-dark: #000000;
JSON
{
  "hex": "#956ae3",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 227
  },
  "hsl": {
    "h": 261.322,
    "s": 68.362,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62369,
    "c": 0.17745,
    "h": 297.4
  },
  "luminance": 0.22244
}

Semantic roles & 50–950 ramp

primary
#956AE3
secondary
#DAE9C0
accent
#D0158E
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #956AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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