#956AFB#956AFB

#956AFB is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 63.9% C 0.207 H 293.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#956AFB
RGBrgb(149, 106, 251)
HSLhsl(258, 95%, 70%)
HSVhsv(258, 58%, 98%)
CMYKcmyk(40.6%, 57.8%, 0%, 1.6%)
CIE-LABlab(55.75, 48.98, -66.72)
CIE-LCHlch(55.75, 82.76, 306.28°)
OKLaboklab(63.92% 0.082 -0.19)
OKLCHoklch(63.92% 0.207 293.3)
XYZxyz(34.9564, 23.6618, 93.9735)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AFB #D0FB6A
analogous
#6A88FB #956AFB #DD6AFB
triadic
#956AFB #FB956A #6AFB95
tetradic
#956AFB #FB6A88 #D0FB6A #6AFBDD
square
#956AFB #FB6A88 #D0FB6A #6AFBDD
split-complementary
#956AFB #FBDD6A #88FB6A
monochromatic
#4806E4 #6B2EF9 #956AFB #BFA6FD #EAE1FE

Accessibility & contrast

On white

3.66
#956AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#956AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AFB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AFB#FFFFFF#000000##000000
##956AFB1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#2083F8
Tritanopia (blue-blind)
#7A8AA9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956afb;
/* rgb */ color: rgb(149, 106, 251);
/* oklch */ color: oklch(63.9% 0.207 293.3);
Tailwind
colors: {
  custom: {
    50: '#ba96fd',
    500: '#956afb',
    950: '#000000',
  },
}
SCSS
$custom: #956afb;
$custom-light: #ba96fd;
$custom-dark: #000000;
JSON
{
  "hex": "#956afb",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 257.793,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.63916,
    "c": 0.20689,
    "h": 293.3
  },
  "luminance": 0.23663
}

Semantic roles & 50–950 ramp

primary
#956AFB
secondary
#E9F5CC
accent
#E600A1
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #956AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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