#956AF8#956AF8

#956AF8 is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 63.7% C 0.203 H 293.8°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#956AF8
RGBrgb(149, 106, 248)
HSLhsl(258, 91%, 69%)
HSVhsv(258, 57%, 97%)
CMYKcmyk(39.9%, 57.3%, 0%, 2.7%)
CIE-LABlab(55.56, 48.19, -65.36)
CIE-LCHlch(55.56, 81.20, 306.40°)
OKLaboklab(63.72% 0.082 -0.186)
OKLCHoklch(63.72% 0.203 293.8)
XYZxyz(34.4872, 23.4741, 91.5027)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AF8 #CDF86A
analogous
#6A86F8 #956AF8 #DC6AF8
triadic
#956AF8 #F8956A #6AF895
tetradic
#956AF8 #F86A86 #CDF86A #6AF8DC
square
#956AF8 #F86A86 #CDF86A #6AF8DC
split-complementary
#956AF8 #F8DC6A #86F86A
monochromatic
#4A0ADD #6B30F5 #956AF8 #BFA4FB #E8DFFD

Accessibility & contrast

On white

3.69
#956AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#956AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AF8
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AF8#FFFFFF#000000##000000
##956AF81.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1087FD
Deuteranopia (green-blind)
#2783F5
Tritanopia (blue-blind)
#7B89A7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #956af8;
/* rgb */ color: rgb(149, 106, 248);
/* oklch */ color: oklch(63.7% 0.203 293.8);
Tailwind
colors: {
  custom: {
    50: '#ba96fb',
    500: '#956af8',
    950: '#000000',
  },
}
SCSS
$custom: #956af8;
$custom-light: #ba96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#956af8",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 258.169,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63716,
    "c": 0.20325,
    "h": 293.8
  },
  "luminance": 0.23475
}

Semantic roles & 50–950 ramp

primary
#956AF8
secondary
#E7F3CA
accent
#E600A0
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #956AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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