#956DEC#956DEC

#956DEC is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.4% C 0.184 H 295.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#956DEC
RGBrgb(149, 109, 236)
HSLhsl(259, 77%, 68%)
HSVhsv(259, 54%, 93%)
CMYKcmyk(36.9%, 53.8%, 0%, 7.5%)
CIE-LABlab(55.46, 43.39, -58.83)
CIE-LCHlch(55.46, 73.10, 306.41°)
OKLaboklab(63.41% 0.0783 -0.1668)
OKLCHoklch(63.41% 0.184 295.2)
XYZxyz(32.9995, 23.3823, 82.1152)
Luminance0.2338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DEC #C4EC6D
analogous
#6D84EC #956DEC #D56DEC
triadic
#956DEC #EC956D #6DEC95
tetradic
#956DEC #EC6D84 #C4EC6D #6DECD5
square
#956DEC #EC6D84 #C4EC6D #6DECD5
split-complementary
#956DEC #ECD56D #84EC6D
monochromatic
#501AC5 #6E37E5 #956DEC #BCA3F3 #E4D9FA

Accessibility & contrast

On white

3.70
#956DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#956DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DEC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DEC#FFFFFF#000000##000000
##956DEC1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F0
Deuteranopia (green-blind)
#4083E9
Tritanopia (blue-blind)
#8087A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #956dec;
/* rgb */ color: rgb(149, 109, 236);
/* oklch */ color: oklch(63.4% 0.184 295.2);
Tailwind
colors: {
  custom: {
    50: '#b898f3',
    500: '#956dec',
    950: '#000000',
  },
}
SCSS
$custom: #956dec;
$custom-light: #b898f3;
$custom-dark: #000000;
JSON
{
  "hex": "#956dec",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 258.898,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63412,
    "c": 0.18427,
    "h": 295.2
  },
  "luminance": 0.23383
}

Semantic roles & 50–950 ramp

primary
#956DEC
secondary
#E2EEC7
accent
#D90C99
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #956DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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