#956DEB#956DEB

#956DEB is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.3% C 0.183 H 295.3°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#956DEB
RGBrgb(149, 109, 235)
HSLhsl(259, 76%, 67%)
HSVhsv(259, 54%, 92%)
CMYKcmyk(36.6%, 53.6%, 0%, 7.8%)
CIE-LABlab(55.40, 43.12, -58.37)
CIE-LCHlch(55.40, 72.57, 306.46°)
OKLaboklab(63.35% 0.0783 -0.1654)
OKLCHoklch(63.35% 0.183 295.3)
XYZxyz(32.8546, 23.3244, 81.3522)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DEB #C3EB6D
analogous
#6D84EB #956DEB #D46DEB
triadic
#956DEB #EB956D #6DEB95
tetradic
#956DEB #EB6D84 #C3EB6D #6DEBD4
square
#956DEB #EB6D84 #C3EB6D #6DEBD4
split-complementary
#956DEB #EBD46D #84EB6D
monochromatic
#501BC3 #6E37E4 #956DEB #BCA3F2 #E3D9FA

Accessibility & contrast

On white

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

On black

5.67
#956DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DEB
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DEB#FFFFFF#000000##000000
##956DEB1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686EF
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#8087A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #956deb;
/* rgb */ color: rgb(149, 109, 235);
/* oklch */ color: oklch(63.3% 0.183 295.3);
Tailwind
colors: {
  custom: {
    50: '#b898f2',
    500: '#956deb',
    950: '#000000',
  },
}
SCSS
$custom: #956deb;
$custom-light: #b898f2;
$custom-dark: #000000;
JSON
{
  "hex": "#956deb",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 259.048,
    "s": 75.904,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63349,
    "c": 0.18302,
    "h": 295.3
  },
  "luminance": 0.23325
}

Semantic roles & 50–950 ramp

primary
#956DEB
secondary
#E1EEC6
accent
#D80D98
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #956DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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