#956CFC#956CFC

#956CFC is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.3% C 0.205 H 292.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#956CFC
RGBrgb(149, 108, 252)
HSLhsl(257, 96%, 71%)
HSVhsv(257, 57%, 99%)
CMYKcmyk(40.9%, 57.1%, 0%, 1.2%)
CIE-LABlab(56.23, 48.15, -66.49)
CIE-LCHlch(56.23, 82.09, 305.91°)
OKLaboklab(64.29% 0.0797 -0.1893)
OKLCHoklch(64.29% 0.205 292.8)
XYZxyz(35.3229, 24.1420, 94.8754)
Luminance0.2414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CFC #D3FC6C
analogous
#6C8BFC #956CFC #DD6CFC
triadic
#956CFC #FC956C #6CFC95
tetradic
#956CFC #FC6C8B #D3FC6C #6CFCDD
square
#956CFC #FC6C8B #D3FC6C #6CFCDD
split-complementary
#956CFC #FCDD6C #8BFC6C
monochromatic
#4605E9 #6A30FB #956CFC #C0A8FD #E9E1FE

Accessibility & contrast

On white

3.60
#956CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#956CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CFC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CFC#FFFFFF#000000##000000
##956CFC1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D89FF
Deuteranopia (green-blind)
#2484F9
Tritanopia (blue-blind)
#798BAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #956cfc;
/* rgb */ color: rgb(149, 108, 252);
/* oklch */ color: oklch(64.3% 0.205 292.8);
Tailwind
colors: {
  custom: {
    50: '#ba97fe',
    500: '#956cfc',
    950: '#000000',
  },
}
SCSS
$custom: #956cfc;
$custom-light: #ba97fe;
$custom-dark: #000000;
JSON
{
  "hex": "#956cfc",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 252
  },
  "hsl": {
    "h": 257.083,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6429,
    "c": 0.20538,
    "h": 292.8
  },
  "luminance": 0.24143
}

Semantic roles & 50–950 ramp

primary
#956CFC
secondary
#EAF5CE
accent
#E600A4
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #956CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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