#956AF5#956AF5

#956AF5 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.5% C 0.200 H 294.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#956AF5
RGBrgb(149, 106, 245)
HSLhsl(259, 87%, 69%)
HSVhsv(259, 57%, 96%)
CMYKcmyk(39.2%, 56.7%, 0%, 3.9%)
CIE-LABlab(55.37, 47.40, -64.00)
CIE-LCHlch(55.37, 79.64, 306.52°)
OKLaboklab(63.52% 0.082 -0.182)
OKLCHoklch(63.52% 0.2 294.3)
XYZxyz(34.0255, 23.2894, 89.0711)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956AF5 #CAF56A
analogous
#6A85F5 #956AF5 #DB6AF5
triadic
#956AF5 #F5956A #6AF595
tetradic
#956AF5 #F56A85 #CAF56A #6AF5DB
square
#956AF5 #F56A85 #CAF56A #6AF5DB
split-complementary
#956AF5 #F5DB6A #85F56A
monochromatic
#4C0ED6 #6C31F1 #956AF5 #BEA3F9 #E7DDFD

Accessibility & contrast

On white

3.71
#956AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#956AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956AF5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956AF5#FFFFFF#000000##000000
##956AF51.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A86FA
Deuteranopia (green-blind)
#2D82F2
Tritanopia (blue-blind)
#7C88A5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #956af5;
/* rgb */ color: rgb(149, 106, 245);
/* oklch */ color: oklch(63.5% 0.200 294.3);
Tailwind
colors: {
  custom: {
    50: '#b996f9',
    500: '#956af5',
    950: '#000000',
  },
}
SCSS
$custom: #956af5;
$custom-light: #b996f9;
$custom-dark: #000000;
JSON
{
  "hex": "#956af5",
  "rgb": {
    "r": 149,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 258.561,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63517,
    "c": 0.1996,
    "h": 294.3
  },
  "luminance": 0.2329
}

Semantic roles & 50–950 ramp

primary
#956AF5
secondary
#E5F2C9
accent
#E4029E
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #956AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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