#956FCE#956FCE

#956FCE is a mid, vivid violet. Relative luminance 0.222; OKLCH L 62.0% C 0.143 H 300.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#956FCE
RGBrgb(149, 111, 206)
HSLhsl(264, 49%, 62%)
HSVhsv(264, 46%, 81%)
CMYKcmyk(27.7%, 46.1%, 0%, 19.2%)
CIE-LABlab(54.25, 34.63, -43.86)
CIE-LCHlch(54.25, 55.88, 308.29°)
OKLaboklab(61.97% 0.0732 -0.123)
OKLCHoklch(61.97% 0.143 300.8)
XYZxyz(29.2169, 22.2146, 61.1291)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FCE #A8CE6F
analogous
#6F79CE #956FCE #C56FCE
triadic
#956FCE #CE956F #6FCE95
tetradic
#956FCE #CE6F79 #A8CE6F #6FCEC5
square
#956FCE #CE6F79 #A8CE6F #6FCEC5
split-complementary
#956FCE #CEC56F #79CE6F
monochromatic
#583191 #7341BE #956FCE #B79DDE #D8CAED

Accessibility & contrast

On white

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

On black

5.44
#956FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FCE
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FCE#FFFFFF#000000##000000
##956FCE1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D1
Deuteranopia (green-blind)
#5C81CC
Tritanopia (blue-blind)
#8A8095
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #956fce;
/* rgb */ color: rgb(149, 111, 206);
/* oklch */ color: oklch(62.0% 0.143 300.8);
Tailwind
colors: {
  custom: {
    50: '#b699dd',
    500: '#956fce',
    950: '#000000',
  },
}
SCSS
$custom: #956fce;
$custom-light: #b699dd;
$custom-dark: #000000;
JSON
{
  "hex": "#956fce",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 206
  },
  "hsl": {
    "h": 264,
    "s": 49.223,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61974,
    "c": 0.14314,
    "h": 300.8
  },
  "luminance": 0.22215
}

Semantic roles & 50–950 ramp

primary
#956FCE
secondary
#D0DEBB
accent
#BD2982
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #956FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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