#956CF9#956CF9

#956CF9 is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.1% C 0.202 H 293.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#956CF9
RGBrgb(149, 108, 249)
HSLhsl(257, 92%, 70%)
HSVhsv(257, 57%, 98%)
CMYKcmyk(40.2%, 56.6%, 0%, 2.4%)
CIE-LABlab(56.04, 47.35, -65.14)
CIE-LCHlch(56.04, 80.53, 306.02°)
OKLaboklab(64.09% 0.0797 -0.1853)
OKLCHoklch(64.09% 0.202 293.3)
XYZxyz(34.8513, 23.9533, 92.3914)
Luminance0.2395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CF9 #D0F96C
analogous
#6C89F9 #956CF9 #DC6CF9
triadic
#956CF9 #F9956C #6CF995
tetradic
#956CF9 #F96C89 #D0F96C #6CF9DC
square
#956CF9 #F96C89 #D0F96C #6CF9DC
split-complementary
#956CF9 #F9DC6C #89F96C
monochromatic
#4809E1 #6B31F7 #956CF9 #BFA7FB #EAE2FE

Accessibility & contrast

On white

3.63
#956CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#956CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CF9
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CF9#FFFFFF#000000##000000
##956CF91.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1988FE
Deuteranopia (green-blind)
#2A84F6
Tritanopia (blue-blind)
#7B8AA8
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956cf9;
/* rgb */ color: rgb(149, 108, 249);
/* oklch */ color: oklch(64.1% 0.202 293.3);
Tailwind
colors: {
  custom: {
    50: '#ba97fc',
    500: '#956cf9',
    950: '#000000',
  },
}
SCSS
$custom: #956cf9;
$custom-light: #ba97fc;
$custom-dark: #000000;
JSON
{
  "hex": "#956cf9",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 249
  },
  "hsl": {
    "h": 257.447,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.64091,
    "c": 0.20173,
    "h": 293.3
  },
  "luminance": 0.23954
}

Semantic roles & 50–950 ramp

primary
#956CF9
secondary
#E9F4CD
accent
#E600A3
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #956CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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