#956AFE#956AFE

#956AFE is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.1% C 0.210 H 292.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#956AFE
RGBrgb(149, 106, 254)
HSLhsl(257, 99%, 71%)
HSVhsv(257, 58%, 100%)
CMYKcmyk(41.3%, 58.3%, 0%, 0.4%)
CIE-LABlab(55.94, 49.77, -68.07)
CIE-LCHlch(55.94, 84.32, 306.17°)
OKLaboklab(64.12% 0.0819 -0.1939)
OKLCHoklch(64.12% 0.211 292.9)
XYZxyz(35.4330, 23.8524, 96.4838)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AFE #D3FE6A
analogous
#6A89FE #956AFE #DF6AFE
triadic
#956AFE #FE956A #6AFE95
tetradic
#956AFE #FE6A89 #D3FE6A #6AFEDF
square
#956AFE #FE6A89 #D3FE6A #6AFEDF
split-complementary
#956AFE #FEDF6A #89FE6A
monochromatic
#4602EC #6A2DFE #956AFE #C0A7FE #E9E1FF

Accessibility & contrast

On white

3.64
#956AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#956AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AFE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AFE#FFFFFF#000000##000000
##956AFE1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#1783FB
Tritanopia (blue-blind)
#788BAA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956afe;
/* rgb */ color: rgb(149, 106, 254);
/* oklch */ color: oklch(64.1% 0.210 292.9);
Tailwind
colors: {
  custom: {
    50: '#ba96ff',
    500: '#956afe',
    950: '#000000',
  },
}
SCSS
$custom: #956afe;
$custom-light: #ba96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#956afe",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 257.432,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64118,
    "c": 0.2105,
    "h": 292.9
  },
  "luminance": 0.23853
}

Semantic roles & 50–950 ramp

primary
#956AFE
secondary
#EAF6CE
accent
#E600A3
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #956AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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