#956FF8#956FF8

#956FF8 is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.5% C 0.196 H 292.9°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#956FF8
RGBrgb(149, 111, 248)
HSLhsl(257, 91%, 70%)
HSVhsv(257, 55%, 97%)
CMYKcmyk(39.9%, 55.2%, 0%, 2.7%)
CIE-LABlab(56.62, 45.43, -63.65)
CIE-LCHlch(56.62, 78.20, 305.52°)
OKLaboklab(64.5% 0.0763 -0.1809)
OKLCHoklch(64.5% 0.196 292.9)
XYZxyz(35.0176, 24.5348, 91.6794)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FF8 #D2F86F
analogous
#6F8EF8 #956FF8 #D96FF8
triadic
#956FF8 #F8956F #6FF895
tetradic
#956FF8 #F86F8E #D2F86F #6FF8D9
square
#956FF8 #F86F8E #D2F86F #6FF8D9
split-complementary
#956FF8 #F8D96F #8EF86F
monochromatic
#470BE2 #6A35F5 #956FF8 #C0A9FB #EAE2FE

Accessibility & contrast

On white

3.55
#956FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#956FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FF8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FF8#FFFFFF#000000##000000
##956FF81.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#288AFD
Deuteranopia (green-blind)
#3385F5
Tritanopia (blue-blind)
#7B8CA9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #956ff8;
/* rgb */ color: rgb(149, 111, 248);
/* oklch */ color: oklch(64.5% 0.196 292.9);
Tailwind
colors: {
  custom: {
    50: '#b999fb',
    500: '#956ff8',
    950: '#000000',
  },
}
SCSS
$custom: #956ff8;
$custom-light: #b999fb;
$custom-dark: #000000;
JSON
{
  "hex": "#956ff8",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 248
  },
  "hsl": {
    "h": 256.642,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64497,
    "c": 0.19635,
    "h": 292.9
  },
  "luminance": 0.24536
}

Semantic roles & 50–950 ramp

primary
#956FF8
secondary
#EAF4CF
accent
#E600A6
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #956FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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