#956CFB#956CFB

#956CFB is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.2% C 0.204 H 293.0°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#956CFB
RGBrgb(149, 108, 251)
HSLhsl(257, 95%, 70%)
HSVhsv(257, 57%, 98%)
CMYKcmyk(40.6%, 57%, 0%, 1.6%)
CIE-LABlab(56.17, 47.88, -66.04)
CIE-LCHlch(56.17, 81.57, 305.94°)
OKLaboklab(64.22% 0.0797 -0.188)
OKLCHoklch(64.22% 0.204 293)
XYZxyz(35.1649, 24.0788, 94.0430)
Luminance0.2408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CFB #D2FB6C
analogous
#6C8AFB #956CFB #DD6CFB
triadic
#956CFB #FB956C #6CFB95
tetradic
#956CFB #FB6C8A #D2FB6C #6CFBDD
square
#956CFB #FB6C8A #D2FB6C #6CFBDD
split-complementary
#956CFB #FBDD6C #8AFB6C
monochromatic
#4706E6 #6A30F9 #956CFB #C0A8FD #EAE1FE

Accessibility & contrast

On white

3.61
#956CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#956CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CFB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CFB#FFFFFF#000000##000000
##956CFB1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1288FF
Deuteranopia (green-blind)
#2684F8
Tritanopia (blue-blind)
#7A8BA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #956cfb;
/* rgb */ color: rgb(149, 108, 251);
/* oklch */ color: oklch(64.2% 0.204 293.0);
Tailwind
colors: {
  custom: {
    50: '#ba97fd',
    500: '#956cfb',
    950: '#000000',
  },
}
SCSS
$custom: #956cfb;
$custom-light: #ba97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#956cfb",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 257.203,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64224,
    "c": 0.20417,
    "h": 293
  },
  "luminance": 0.2408
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #956CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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