#956DD7#956DD7

#956DD7 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.1% C 0.158 H 299.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#956DD7
RGBrgb(149, 109, 215)
HSLhsl(263, 57%, 64%)
HSVhsv(263, 49%, 84%)
CMYKcmyk(30.7%, 49.3%, 0%, 15.7%)
CIE-LABlab(54.27, 38.01, -48.94)
CIE-LCHlch(54.27, 61.96, 307.84°)
OKLaboklab(62.14% 0.077 -0.1378)
OKLCHoklch(62.14% 0.158 299.2)
XYZxyz(30.1259, 22.2329, 66.9810)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DD7 #AFD76D
analogous
#6D7AD7 #956DD7 #CA6DD7
triadic
#956DD7 #D7956D #6DD795
tetradic
#956DD7 #D76D7A #AFD76D #6DD7CA
square
#956DD7 #D76D7A #AFD76D #6DD7CA
split-complementary
#956DD7 #D7CA6D #7AD76D
monochromatic
#572B9E #723DCA #956DD7 #B89DE4 #DBCDF1

Accessibility & contrast

On white

3.86
#956DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#956DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DD7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DD7#FFFFFF#000000##000000
##956DD71.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4982DB
Deuteranopia (green-blind)
#5381D4
Tritanopia (blue-blind)
#878198
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #956dd7;
/* rgb */ color: rgb(149, 109, 215);
/* oklch */ color: oklch(62.1% 0.158 299.2);
Tailwind
colors: {
  custom: {
    50: '#b798e4',
    500: '#956dd7',
    950: '#000000',
  },
}
SCSS
$custom: #956dd7;
$custom-light: #b798e4;
$custom-dark: #000000;
JSON
{
  "hex": "#956dd7",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 215
  },
  "hsl": {
    "h": 262.642,
    "s": 56.989,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62143,
    "c": 0.15782,
    "h": 299.2
  },
  "luminance": 0.22233
}

Semantic roles & 50–950 ramp

primary
#956DD7
secondary
#D5E3BD
accent
#C52187
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D15
muted
#817E84

Preview Lab

Preview with #956DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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