#956DDF#956DDF

#956DDF is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.6% C 0.168 H 297.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#956DDF
RGBrgb(149, 109, 223)
HSLhsl(261, 64%, 65%)
HSVhsv(261, 51%, 87%)
CMYKcmyk(33.2%, 51.1%, 0%, 12.5%)
CIE-LABlab(54.71, 40.03, -52.75)
CIE-LCHlch(54.71, 66.22, 307.20°)
OKLaboklab(62.61% 0.0776 -0.1489)
OKLCHoklch(62.61% 0.168 297.5)
XYZxyz(31.1791, 22.6542, 72.5278)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DDF #B7DF6D
analogous
#6D7EDF #956DDF #CE6DDF
triadic
#956DDF #DF956D #6DDF95
tetradic
#956DDF #DF6D7E #B7DF6D #6DDFCE
square
#956DDF #DF6D7E #B7DF6D #6DDFCE
split-complementary
#956DDF #DFCE6D #7EDF6D
monochromatic
#5526AC #713BD4 #956DDF #B99FEA #DED1F5

Accessibility & contrast

On white

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

On black

5.53
#956DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DDF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DDF#FFFFFF#000000##000000
##956DDF1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4383E3
Deuteranopia (green-blind)
#4D82DC
Tritanopia (blue-blind)
#85839C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #956ddf;
/* rgb */ color: rgb(149, 109, 223);
/* oklch */ color: oklch(62.6% 0.168 297.5);
Tailwind
colors: {
  custom: {
    50: '#b798e9',
    500: '#956ddf',
    950: '#000000',
  },
}
SCSS
$custom: #956ddf;
$custom-light: #b798e9;
$custom-dark: #000000;
JSON
{
  "hex": "#956ddf",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 223
  },
  "hsl": {
    "h": 261.053,
    "s": 64.045,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62614,
    "c": 0.16796,
    "h": 297.5
  },
  "luminance": 0.22655
}

Semantic roles & 50–950 ramp

primary
#956DDF
secondary
#DAE7C1
accent
#CC1A8D
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #956DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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