#956DE5#956DE5

#956DE5 is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.0% C 0.176 H 296.4°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#956DE5
RGBrgb(149, 109, 229)
HSLhsl(260, 70%, 66%)
HSVhsv(260, 52%, 90%)
CMYKcmyk(34.9%, 52.4%, 0%, 10.2%)
CIE-LABlab(55.06, 41.57, -55.57)
CIE-LCHlch(55.06, 69.40, 306.80°)
OKLaboklab(62.98% 0.078 -0.1572)
OKLCHoklch(62.98% 0.176 296.4)
XYZxyz(32.0024, 22.9835, 76.8637)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DE5 #BDE56D
analogous
#6D81E5 #956DE5 #D16DE5
triadic
#956DE5 #E5956D #6DE595
tetradic
#956DE5 #E56D81 #BDE56D #6DE5D1
square
#956DE5 #E56D81 #BDE56D #6DE5D1
split-complementary
#956DE5 #E5D16D #81E56D
monochromatic
#5321B7 #6F39DC #956DE5 #BBA1EE #E0D5F8

Accessibility & contrast

On white

3.75
#956DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#956DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DE5
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DE5#FFFFFF#000000##000000
##956DE51.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D84E9
Deuteranopia (green-blind)
#4782E2
Tritanopia (blue-blind)
#83859F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #956de5;
/* rgb */ color: rgb(149, 109, 229);
/* oklch */ color: oklch(63.0% 0.176 296.4);
Tailwind
colors: {
  custom: {
    50: '#b898ee',
    500: '#956de5',
    950: '#000000',
  },
}
SCSS
$custom: #956de5;
$custom-light: #b898ee;
$custom-dark: #000000;
JSON
{
  "hex": "#956de5",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 229
  },
  "hsl": {
    "h": 260,
    "s": 69.767,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62978,
    "c": 0.17551,
    "h": 296.4
  },
  "luminance": 0.22984
}

Semantic roles & 50–950 ramp

primary
#956DE5
secondary
#DDEAC3
accent
#D21492
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #956DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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