#956FCD#956FCD

#956FCD is a mid, vivid violet. Relative luminance 0.222; OKLCH L 61.9% C 0.142 H 301.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#956FCD
RGBrgb(149, 111, 205)
HSLhsl(264, 48%, 62%)
HSVhsv(264, 46%, 80%)
CMYKcmyk(27.3%, 45.9%, 0%, 19.6%)
CIE-LABlab(54.20, 34.38, -43.38)
CIE-LCHlch(54.20, 55.35, 308.40°)
OKLaboklab(61.92% 0.0731 -0.1216)
OKLCHoklch(61.92% 0.142 301)
XYZxyz(29.0958, 22.1661, 60.4914)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FCD #A7CD6F
analogous
#6F78CD #956FCD #C46FCD
triadic
#956FCD #CD956F #6FCD95
tetradic
#956FCD #CD6F78 #A7CD6F #6FCDC4
square
#956FCD #CD6F78 #A7CD6F #6FCDC4
split-complementary
#956FCD #CDC46F #78CD6F
monochromatic
#583290 #7442BD #956FCD #B69CDD #D8CAED

Accessibility & contrast

On white

3.87
#956FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#956FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FCD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FCD#FFFFFF#000000##000000
##956FCD1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D0
Deuteranopia (green-blind)
#5C81CB
Tritanopia (blue-blind)
#8A8094
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #956fcd;
/* rgb */ color: rgb(149, 111, 205);
/* oklch */ color: oklch(61.9% 0.142 301.0);
Tailwind
colors: {
  custom: {
    50: '#b699dc',
    500: '#956fcd',
    950: '#000000',
  },
}
SCSS
$custom: #956fcd;
$custom-light: #b699dc;
$custom-dark: #000000;
JSON
{
  "hex": "#956fcd",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 205
  },
  "hsl": {
    "h": 264.255,
    "s": 48.454,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61919,
    "c": 0.14184,
    "h": 301
  },
  "luminance": 0.22166
}

Semantic roles & 50–950 ramp

primary
#956FCD
secondary
#CFDDBB
accent
#BC2A81
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #956FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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