#956FC2#956FC2

#956FC2 is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.3% C 0.128 H 304.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#956FC2
RGBrgb(149, 111, 194)
HSLhsl(267, 40%, 60%)
HSVhsv(267, 43%, 76%)
CMYKcmyk(23.2%, 42.8%, 0%, 23.9%)
CIE-LABlab(53.66, 31.71, -37.96)
CIE-LCHlch(53.66, 49.46, 309.87°)
OKLaboklab(61.33% 0.0714 -0.1058)
OKLCHoklch(61.33% 0.128 304)
XYZxyz(27.8144, 21.6536, 53.7427)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FC2 #9CC26F
analogous
#6F72C2 #956FC2 #BF6FC2
triadic
#956FC2 #C2956F #6FC295
tetradic
#956FC2 #C26F72 #9CC26F #6FC2BF
square
#956FC2 #C26F72 #9CC26F #6FC2BF
split-complementary
#956FC2 #C2BF6F #72C26F
monochromatic
#583680 #7649AB #956FC2 #B59AD4 #D4C5E6

Accessibility & contrast

On white

3.94
#956FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#956FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FC2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FC2#FFFFFF#000000##000000
##956FC21.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7FC5
Deuteranopia (green-blind)
#6380C0
Tritanopia (blue-blind)
#8E7D8F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #956fc2;
/* rgb */ color: rgb(149, 111, 194);
/* oklch */ color: oklch(61.3% 0.128 304.0);
Tailwind
colors: {
  custom: {
    50: '#b699d5',
    500: '#956fc2',
    950: '#000000',
  },
}
SCSS
$custom: #956fc2;
$custom-light: #b699d5;
$custom-dark: #000000;
JSON
{
  "hex": "#956fc2",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 267.47,
    "s": 40.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61332,
    "c": 0.12764,
    "h": 304
  },
  "luminance": 0.21653
}

Semantic roles & 50–950 ramp

primary
#956FC2
secondary
#C8D6B6
accent
#D05799
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #956FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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