#956DF5#956DF5

#956DF5 is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.0% C 0.195 H 293.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#956DF5
RGBrgb(149, 109, 245)
HSLhsl(258, 87%, 69%)
HSVhsv(258, 56%, 96%)
CMYKcmyk(39.2%, 55.5%, 0%, 3.9%)
CIE-LABlab(56.01, 45.74, -62.97)
CIE-LCHlch(56.01, 77.83, 305.99°)
OKLaboklab(63.99% 0.0785 -0.1789)
OKLCHoklch(63.99% 0.195 293.7)
XYZxyz(34.3401, 23.9186, 89.1760)
Luminance0.2392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DF5 #CDF56D
analogous
#6D89F5 #956DF5 #D96DF5
triadic
#956DF5 #F5956D #6DF595
tetradic
#956DF5 #F56D89 #CDF56D #6DF5D9
square
#956DF5 #F56D89 #CDF56D #6DF5D9
split-complementary
#956DF5 #F5D96D #89F56D
monochromatic
#4A0FD9 #6B34F1 #956DF5 #BFA6F9 #E8E0FD

Accessibility & contrast

On white

3.63
#956DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#956DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DF5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DF5#FFFFFF#000000##000000
##956DF51.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2688FA
Deuteranopia (green-blind)
#3484F2
Tritanopia (blue-blind)
#7C8AA7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956df5;
/* rgb */ color: rgb(149, 109, 245);
/* oklch */ color: oklch(64.0% 0.195 293.7);
Tailwind
colors: {
  custom: {
    50: '#b998f9',
    500: '#956df5',
    950: '#000000',
  },
}
SCSS
$custom: #956df5;
$custom-light: #b998f9;
$custom-dark: #000000;
JSON
{
  "hex": "#956df5",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 257.647,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63986,
    "c": 0.19543,
    "h": 293.7
  },
  "luminance": 0.23919
}

Semantic roles & 50–950 ramp

primary
#956DF5
secondary
#E7F2CB
accent
#E402A1
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #956DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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