#956FF5#956FF5

#956FF5 is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.3% C 0.193 H 293.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#956FF5
RGBrgb(149, 111, 245)
HSLhsl(257, 87%, 70%)
HSVhsv(257, 55%, 96%)
CMYKcmyk(39.2%, 54.7%, 0%, 3.9%)
CIE-LABlab(56.44, 44.63, -62.28)
CIE-LCHlch(56.44, 76.62, 305.63°)
OKLaboklab(64.3% 0.0762 -0.1769)
OKLCHoklch(64.3% 0.193 293.3)
XYZxyz(34.5559, 24.3502, 89.2479)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FF5 #CFF56F
analogous
#6F8CF5 #956FF5 #D86FF5
triadic
#956FF5 #F5956F #6FF595
tetradic
#956FF5 #F56F8C #CFF56F #6FF5D8
square
#956FF5 #F56F8C #CFF56F #6FF5D8
split-complementary
#956FF5 #F5D86F #8CF56F
monochromatic
#490FDA #6B36F1 #956FF5 #BFA8F9 #E9E1FD

Accessibility & contrast

On white

3.58
#956FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#956FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FF5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FF5#FFFFFF#000000##000000
##956FF51.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D89FA
Deuteranopia (green-blind)
#3885F2
Tritanopia (blue-blind)
#7C8BA7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #956ff5;
/* rgb */ color: rgb(149, 111, 245);
/* oklch */ color: oklch(64.3% 0.193 293.3);
Tailwind
colors: {
  custom: {
    50: '#b999f9',
    500: '#956ff5',
    950: '#000000',
  },
}
SCSS
$custom: #956ff5;
$custom-light: #b999f9;
$custom-dark: #000000;
JSON
{
  "hex": "#956ff5",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 257.015,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64304,
    "c": 0.19262,
    "h": 293.3
  },
  "luminance": 0.24351
}

Semantic roles & 50–950 ramp

primary
#956FF5
secondary
#E8F3CD
accent
#E402A4
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #956FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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