#956AFC#956AFC

#956AFC is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.0% C 0.208 H 293.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#956AFC
RGBrgb(149, 106, 252)
HSLhsl(258, 96%, 70%)
HSVhsv(258, 58%, 99%)
CMYKcmyk(40.9%, 57.9%, 0%, 1.2%)
CIE-LABlab(55.81, 49.24, -67.17)
CIE-LCHlch(55.81, 83.28, 306.25°)
OKLaboklab(63.98% 0.0819 -0.1913)
OKLCHoklch(63.98% 0.208 293.2)
XYZxyz(35.1144, 23.7250, 94.8059)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AFC #D1FC6A
analogous
#6A88FC #956AFC #DE6AFC
triadic
#956AFC #FC956A #6AFC95
tetradic
#956AFC #FC6A88 #D1FC6A #6AFCDE
square
#956AFC #FC6A88 #D1FC6A #6AFCDE
split-complementary
#956AFC #FCDE6A #88FC6A
monochromatic
#4705E7 #6A2EFB #956AFC #C0A6FD #EAE1FE

Accessibility & contrast

On white

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

On black

5.75
#956AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AFC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AFC#FFFFFF#000000##000000
##956AFC1.003.665.755.75
#FFFFFF3.661.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#1D83F9
Tritanopia (blue-blind)
#798AA9
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956afc;
/* rgb */ color: rgb(149, 106, 252);
/* oklch */ color: oklch(64.0% 0.208 293.2);
Tailwind
colors: {
  custom: {
    50: '#ba96fe',
    500: '#956afc',
    950: '#000000',
  },
}
SCSS
$custom: #956afc;
$custom-light: #ba96fe;
$custom-dark: #000000;
JSON
{
  "hex": "#956afc",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 257.671,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63983,
    "c": 0.20809,
    "h": 293.2
  },
  "luminance": 0.23726
}

Semantic roles & 50–950 ramp

primary
#956AFC
secondary
#E9F5CD
accent
#E600A2
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #956AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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