#956FFC#956FFC

#956FFC is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 64.8% C 0.201 H 292.3°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#956FFC
RGBrgb(149, 111, 252)
HSLhsl(256, 96%, 71%)
HSVhsv(256, 56%, 99%)
CMYKcmyk(40.9%, 56%, 0%, 1.2%)
CIE-LABlab(56.87, 46.49, -65.47)
CIE-LCHlch(56.87, 80.30, 305.38°)
OKLaboklab(64.76% 0.0763 -0.1863)
OKLCHoklch(64.76% 0.201 292.3)
XYZxyz(35.6448, 24.7857, 94.9827)
Luminance0.2479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FFC #D6FC6F
analogous
#6F8FFC #956FFC #DB6FFC
triadic
#956FFC #FC956F #6FFC95
tetradic
#956FFC #FC6F8F #D6FC6F #6FFCDB
square
#956FFC #FC6F8F #D6FC6F #6FFCDB
split-complementary
#956FFC #FCDB6F #8FFC6F
monochromatic
#4305EC #6933FB #956FFC #C1ABFD #E9E1FE

Accessibility & contrast

On white

3.53
#956FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#956FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FFC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FFC#FFFFFF#000000##000000
##956FFC1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F8AFF
Deuteranopia (green-blind)
#2C86F9
Tritanopia (blue-blind)
#798DAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #956ffc;
/* rgb */ color: rgb(149, 111, 252);
/* oklch */ color: oklch(64.8% 0.201 292.3);
Tailwind
colors: {
  custom: {
    50: '#ba99fe',
    500: '#956ffc',
    950: '#000000',
  },
}
SCSS
$custom: #956ffc;
$custom-light: #ba99fe;
$custom-dark: #000000;
JSON
{
  "hex": "#956ffc",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 252
  },
  "hsl": {
    "h": 256.17,
    "s": 95.918,
    "l": 71.176
  },
  "oklch": {
    "l": 0.64758,
    "c": 0.20129,
    "h": 292.3
  },
  "luminance": 0.24787
}

Semantic roles & 50–950 ramp

primary
#956FFC
secondary
#ECF6D1
accent
#E600A8
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #956FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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