#956DDB#956DDB

#956DDB is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.4% C 0.163 H 298.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#956DDB
RGBrgb(149, 109, 219)
HSLhsl(262, 60%, 64%)
HSVhsv(262, 50%, 86%)
CMYKcmyk(32%, 50.2%, 0%, 14.1%)
CIE-LABlab(54.49, 39.02, -50.85)
CIE-LCHlch(54.49, 64.09, 307.50°)
OKLaboklab(62.38% 0.0773 -0.1434)
OKLCHoklch(62.38% 0.163 298.3)
XYZxyz(30.6462, 22.4410, 69.7211)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DDB #B3DB6D
analogous
#6D7CDB #956DDB #CC6DDB
triadic
#956DDB #DB956D #6DDB95
tetradic
#956DDB #DB6D7C #B3DB6D #6DDBCC
square
#956DDB #DB6D7C #B3DB6D #6DDBCC
split-complementary
#956DDB #DBCC6D #7CDB6D
monochromatic
#5629A5 #713CCF #956DDB #B99EE7 #DCCFF3

Accessibility & contrast

On white

3.83
#956DDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#956DDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DDB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DDB#FFFFFF#000000##000000
##956DDB1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4682DF
Deuteranopia (green-blind)
#5081D8
Tritanopia (blue-blind)
#86829A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #956ddb;
/* rgb */ color: rgb(149, 109, 219);
/* oklch */ color: oklch(62.4% 0.163 298.3);
Tailwind
colors: {
  custom: {
    50: '#b798e7',
    500: '#956ddb',
    950: '#000000',
  },
}
SCSS
$custom: #956ddb;
$custom-light: #b798e7;
$custom-dark: #000000;
JSON
{
  "hex": "#956ddb",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 219
  },
  "hsl": {
    "h": 261.818,
    "s": 60.44,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62377,
    "c": 0.1629,
    "h": 298.3
  },
  "luminance": 0.22441
}

Semantic roles & 50–950 ramp

primary
#956DDB
secondary
#D7E5BF
accent
#C81D8A
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #956DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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