#956FD7#956FD7

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

Color values

HEX#956FD7
RGBrgb(149, 111, 215)
HSLhsl(262, 57%, 64%)
HSVhsv(262, 48%, 84%)
CMYKcmyk(30.7%, 48.4%, 0%, 15.7%)
CIE-LABlab(54.73, 36.87, -48.22)
CIE-LCHlch(54.73, 60.70, 307.40°)
OKLaboklab(62.48% 0.0743 -0.1357)
OKLCHoklch(62.48% 0.155 298.7)
XYZxyz(30.3417, 22.6645, 67.0530)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FD7 #B1D76F
analogous
#6F7DD7 #956FD7 #C96FD7
triadic
#956FD7 #D7956F #6FD795
tetradic
#956FD7 #D76F7D #B1D76F #6FD7C9
square
#956FD7 #D76F7D #B1D76F #6FD7C9
split-complementary
#956FD7 #D7C96F #7DD76F
monochromatic
#562C9F #723FCA #956FD7 #B89FE4 #DCCFF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##956FD7#FFFFFF#000000##000000
##956FD71.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)
#4D83DB
Deuteranopia (green-blind)
#5682D4
Tritanopia (blue-blind)
#878299
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #956fd7;
/* rgb */ color: rgb(149, 111, 215);
/* oklch */ color: oklch(62.5% 0.155 298.7);
Tailwind
colors: {
  custom: {
    50: '#b799e4',
    500: '#956fd7',
    950: '#000000',
  },
}
SCSS
$custom: #956fd7;
$custom-light: #b799e4;
$custom-dark: #000000;
JSON
{
  "hex": "#956fd7",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 215
  },
  "hsl": {
    "h": 261.923,
    "s": 56.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6248,
    "c": 0.15471,
    "h": 298.7
  },
  "luminance": 0.22665
}

Semantic roles & 50–950 ramp

primary
#956FD7
secondary
#D6E3BF
accent
#C42189
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120E15
muted
#817E84

Preview Lab

Preview with #956FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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