#956AFA#956AFA

#956AFA is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 63.8% C 0.206 H 293.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#956AFA
RGBrgb(149, 106, 250)
HSLhsl(258, 94%, 70%)
HSVhsv(258, 58%, 98%)
CMYKcmyk(40.4%, 57.6%, 0%, 2%)
CIE-LABlab(55.68, 48.71, -66.27)
CIE-LCHlch(55.68, 82.24, 306.32°)
OKLaboklab(63.85% 0.082 -0.1886)
OKLCHoklch(63.85% 0.206 293.5)
XYZxyz(34.7992, 23.5989, 93.1455)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AFA #CFFA6A
analogous
#6A87FA #956AFA #DD6AFA
triadic
#956AFA #FA956A #6AFA95
tetradic
#956AFA #FA6A87 #CFFA6A #6AFADD
square
#956AFA #FA6A87 #CFFA6A #6AFADD
split-complementary
#956AFA #FADD6A #87FA6A
monochromatic
#4908E2 #6B2FF8 #956AFA #BFA5FC #E9E0FE

Accessibility & contrast

On white

3.67
#956AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#956AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AFA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AFA#FFFFFF#000000##000000
##956AFA1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0587FF
Deuteranopia (green-blind)
#2383F7
Tritanopia (blue-blind)
#7A89A8
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #956afa;
/* rgb */ color: rgb(149, 106, 250);
/* oklch */ color: oklch(63.8% 0.206 293.5);
Tailwind
colors: {
  custom: {
    50: '#ba96fd',
    500: '#956afa',
    950: '#000000',
  },
}
SCSS
$custom: #956afa;
$custom-light: #ba96fd;
$custom-dark: #000000;
JSON
{
  "hex": "#956afa",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 257.917,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63849,
    "c": 0.20567,
    "h": 293.5
  },
  "luminance": 0.236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #956AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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