#956FCA#956FCA

#956FCA is a mid, vivid violet. Relative luminance 0.220; OKLCH L 61.8% C 0.138 H 301.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#956FCA
RGBrgb(149, 111, 202)
HSLhsl(265, 46%, 61%)
HSVhsv(265, 45%, 79%)
CMYKcmyk(26.2%, 45%, 0%, 20.8%)
CIE-LABlab(54.05, 33.64, -41.91)
CIE-LCHlch(54.05, 53.74, 308.76°)
OKLaboklab(61.76% 0.0727 -0.1173)
OKLCHoklch(61.76% 0.138 301.8)
XYZxyz(28.7372, 22.0227, 58.6025)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FCA #A4CA6F
analogous
#6F77CA #956FCA #C36FCA
triadic
#956FCA #CA956F #6FCA95
tetradic
#956FCA #CA6F77 #A4CA6F #6FCAC3
square
#956FCA #CA6F77 #A4CA6F #6FCAC3
split-complementary
#956FCA #CAC36F #77CA6F
monochromatic
#58338B #7444B8 #956FCA #B69CDA #D7C8EB

Accessibility & contrast

On white

3.89
#956FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#956FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FCA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FCA#FFFFFF#000000##000000
##956FCA1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CD
Deuteranopia (green-blind)
#5E81C8
Tritanopia (blue-blind)
#8B7F93
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #956fca;
/* rgb */ color: rgb(149, 111, 202);
/* oklch */ color: oklch(61.8% 0.138 301.8);
Tailwind
colors: {
  custom: {
    50: '#b699da',
    500: '#956fca',
    950: '#000000',
  },
}
SCSS
$custom: #956fca;
$custom-light: #b699da;
$custom-dark: #000000;
JSON
{
  "hex": "#956fca",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 202
  },
  "hsl": {
    "h": 265.055,
    "s": 46.193,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61756,
    "c": 0.13797,
    "h": 301.8
  },
  "luminance": 0.22023
}

Semantic roles & 50–950 ramp

primary
#956FCA
secondary
#CDDBB9
accent
#B92C7E
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #956FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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