#956DC7#956DC7

#956DC7 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.2% C 0.137 H 303.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#956DC7
RGBrgb(149, 109, 199)
HSLhsl(267, 45%, 60%)
HSVhsv(267, 45%, 78%)
CMYKcmyk(25.1%, 45.2%, 0%, 22%)
CIE-LABlab(53.44, 34.06, -41.16)
CIE-LCHlch(53.44, 53.43, 309.60°)
OKLaboklab(61.25% 0.075 -0.1151)
OKLCHoklch(61.25% 0.137 303.1)
XYZxyz(28.1696, 21.4504, 56.6781)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956DC7 #9FC76D
analogous
#6D72C7 #956DC7 #C26DC7
triadic
#956DC7 #C7956D #6DC795
tetradic
#956DC7 #C76D72 #9FC76D #6DC7C2
square
#956DC7 #C76D72 #9FC76D #6DC7C2
split-complementary
#956DC7 #C7C26D #72C76D
monochromatic
#583386 #7544B2 #956DC7 #B599D8 #D5C5E9

Accessibility & contrast

On white

3.97
#956DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#956DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956DC7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956DC7#FFFFFF#000000##000000
##956DC71.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#547FCA
Deuteranopia (green-blind)
#5E80C5
Tritanopia (blue-blind)
#8C7C90
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #956dc7;
/* rgb */ color: rgb(149, 109, 199);
/* oklch */ color: oklch(61.2% 0.137 303.1);
Tailwind
colors: {
  custom: {
    50: '#b697d8',
    500: '#956dc7',
    950: '#000000',
  },
}
SCSS
$custom: #956dc7;
$custom-light: #b697d8;
$custom-dark: #000000;
JSON
{
  "hex": "#956dc7",
  "rgb": {
    "r": 149,
    "g": 109,
    "b": 199
  },
  "hsl": {
    "h": 266.667,
    "s": 44.554,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61248,
    "c": 0.1374,
    "h": 303.1
  },
  "luminance": 0.2145
}

Semantic roles & 50–950 ramp

primary
#956DC7
secondary
#CAD9B7
accent
#B82E7A
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #956DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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