#956AE7#956AE7

#956AE7 is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.6% C 0.182 H 296.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#956AE7
RGBrgb(149, 106, 231)
HSLhsl(261, 72%, 66%)
HSVhsv(261, 54%, 91%)
CMYKcmyk(35.5%, 54.1%, 0%, 9.4%)
CIE-LABlab(54.52, 43.76, -57.55)
CIE-LCHlch(54.52, 72.30, 307.25°)
OKLaboklab(62.62% 0.0818 -0.163)
OKLCHoklch(62.62% 0.182 296.7)
XYZxyz(31.9686, 22.4667, 78.2380)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AE7 #BCE76A
analogous
#6A7DE7 #956AE7 #D36AE7
triadic
#956AE7 #E7956A #6AE795
tetradic
#956AE7 #E76A7D #BCE76A #6AE7D3
square
#956AE7 #E76A7D #BCE76A #6AE7D3
split-complementary
#956AE7 #E7D36A #7DE76A
monochromatic
#531EB9 #7035DF #956AE7 #BA9FEF #E0D3F8

Accessibility & contrast

On white

3.82
#956AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#956AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AE7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AE7#FFFFFF#000000##000000
##956AE71.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3483EB
Deuteranopia (green-blind)
#4181E4
Tritanopia (blue-blind)
#82839E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #956ae7;
/* rgb */ color: rgb(149, 106, 231);
/* oklch */ color: oklch(62.6% 0.182 296.7);
Tailwind
colors: {
  custom: {
    50: '#b896ef',
    500: '#956ae7',
    950: '#000000',
  },
}
SCSS
$custom: #956ae7;
$custom-light: #b896ef;
$custom-dark: #000000;
JSON
{
  "hex": "#956ae7",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 231
  },
  "hsl": {
    "h": 260.64,
    "s": 72.254,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62618,
    "c": 0.18241,
    "h": 296.7
  },
  "luminance": 0.22467
}

Semantic roles & 50–950 ramp

primary
#956AE7
secondary
#DDEBC2
accent
#D41191
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #956AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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