#956CF5#956CF5

#956CF5 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.8% C 0.197 H 293.9°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#956CF5
RGBrgb(149, 108, 245)
HSLhsl(258, 87%, 69%)
HSVhsv(258, 56%, 96%)
CMYKcmyk(39.2%, 55.9%, 0%, 3.9%)
CIE-LABlab(55.79, 46.30, -63.32)
CIE-LCHlch(55.79, 78.44, 306.17°)
OKLaboklab(63.83% 0.0797 -0.18)
OKLCHoklch(63.83% 0.197 293.9)
XYZxyz(34.2340, 23.7064, 89.1406)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CF5 #CCF56C
analogous
#6C88F5 #956CF5 #D96CF5
triadic
#956CF5 #F5956C #6CF595
tetradic
#956CF5 #F56C88 #CCF56C #6CF5D9
square
#956CF5 #F56C88 #CCF56C #6CF5D9
split-complementary
#956CF5 #F5D96C #88F56C
monochromatic
#4B0FD8 #6C33F1 #956CF5 #BEA5F9 #E8DFFD

Accessibility & contrast

On white

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

On black

5.74
#956CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CF5
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CF5#FFFFFF#000000##000000
##956CF51.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2387FA
Deuteranopia (green-blind)
#3183F2
Tritanopia (blue-blind)
#7C89A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956cf5;
/* rgb */ color: rgb(149, 108, 245);
/* oklch */ color: oklch(63.8% 0.197 293.9);
Tailwind
colors: {
  custom: {
    50: '#b997f9',
    500: '#956cf5',
    950: '#000000',
  },
}
SCSS
$custom: #956cf5;
$custom-light: #b997f9;
$custom-dark: #000000;
JSON
{
  "hex": "#956cf5",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 245
  },
  "hsl": {
    "h": 257.956,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63829,
    "c": 0.19682,
    "h": 293.9
  },
  "luminance": 0.23707
}

Semantic roles & 50–950 ramp

primary
#956CF5
secondary
#E6F2CA
accent
#E402A0
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #956CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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