#956CFD#956CFD

#956CFD is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.4% C 0.207 H 292.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#956CFD
RGBrgb(149, 108, 253)
HSLhsl(257, 97%, 71%)
HSVhsv(257, 57%, 99%)
CMYKcmyk(41.1%, 57.3%, 0%, 0.8%)
CIE-LABlab(56.29, 48.41, -66.94)
CIE-LCHlch(56.29, 82.61, 305.87°)
OKLaboklab(64.36% 0.0797 -0.1906)
OKLCHoklch(64.36% 0.207 292.7)
XYZxyz(35.4818, 24.2056, 95.7121)
Luminance0.2421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CFD #D4FD6C
analogous
#6C8BFD #956CFD #DE6CFD
triadic
#956CFD #FD956C #6CFD95
tetradic
#956CFD #FD6C8B #D4FD6C #6CFDDE
square
#956CFD #FD6C8B #D4FD6C #6CFDDE
split-complementary
#956CFD #FDDE6C #8BFD6C
monochromatic
#4503EB #6930FC #956CFD #C1A8FE #E9E1FF

Accessibility & contrast

On white

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

On black

5.84
#956CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CFD
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CFD#FFFFFF#000000##000000
##956CFD1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0889FF
Deuteranopia (green-blind)
#2184FA
Tritanopia (blue-blind)
#798CAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #956cfd;
/* rgb */ color: rgb(149, 108, 253);
/* oklch */ color: oklch(64.4% 0.207 292.7);
Tailwind
colors: {
  custom: {
    50: '#ba97ff',
    500: '#956cfd',
    950: '#000000',
  },
}
SCSS
$custom: #956cfd;
$custom-light: #ba97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#956cfd",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 253
  },
  "hsl": {
    "h": 256.966,
    "s": 97.315,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64357,
    "c": 0.2066,
    "h": 292.7
  },
  "luminance": 0.24207
}

Semantic roles & 50–950 ramp

primary
#956CFD
secondary
#EBF6CF
accent
#E600A5
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #956CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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