#956DDE#956DDE

#956DDE is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.6% C 0.167 H 297.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#956DDE
RGBrgb(149, 109, 222)
HSLhsl(261, 63%, 65%)
HSVhsv(261, 51%, 87%)
CMYKcmyk(32.9%, 50.9%, 0%, 12.9%)
CIE-LABlab(54.66, 39.78, -52.27)
CIE-LCHlch(54.66, 65.69, 307.27°)
OKLaboklab(62.56% 0.0776 -0.1475)
OKLCHoklch(62.56% 0.167 297.7)
XYZxyz(31.0446, 22.6004, 71.8198)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DDE #B6DE6D
analogous
#6D7EDE #956DDE #CD6DDE
triadic
#956DDE #DE956D #6DDE95
tetradic
#956DDE #DE6D7E #B6DE6D #6DDECD
square
#956DDE #DE6D7E #B6DE6D #6DDECD
split-complementary
#956DDE #DECD6D #7EDE6D
monochromatic
#5526AA #713BD3 #956DDE #B99FE9 #DDD1F5

Accessibility & contrast

On white

3.80
#956DDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#956DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DDE
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DDE#FFFFFF#000000##000000
##956DDE1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4483E2
Deuteranopia (green-blind)
#4E82DB
Tritanopia (blue-blind)
#85839B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #956dde;
/* rgb */ color: rgb(149, 109, 222);
/* oklch */ color: oklch(62.6% 0.167 297.7);
Tailwind
colors: {
  custom: {
    50: '#b798e9',
    500: '#956dde',
    950: '#000000',
  },
}
SCSS
$custom: #956dde;
$custom-light: #b798e9;
$custom-dark: #000000;
JSON
{
  "hex": "#956dde",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 222
  },
  "hsl": {
    "h": 261.239,
    "s": 63.128,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62555,
    "c": 0.16669,
    "h": 297.7
  },
  "luminance": 0.22601
}

Semantic roles & 50–950 ramp

primary
#956DDE
secondary
#D9E7C0
accent
#CB1B8C
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #956DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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