#956FF2#956FF2

#956FF2 is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.1% C 0.189 H 293.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#956FF2
RGBrgb(149, 111, 242)
HSLhsl(257, 83%, 69%)
HSVhsv(257, 54%, 95%)
CMYKcmyk(38.4%, 54.1%, 0%, 5.1%)
CIE-LABlab(56.26, 43.84, -60.91)
CIE-LCHlch(56.26, 75.04, 305.75°)
OKLaboklab(64.11% 0.0761 -0.1729)
OKLCHoklch(64.11% 0.189 293.8)
XYZxyz(34.1016, 24.1685, 86.8555)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FF2 #CCF26F
analogous
#6F8BF2 #956FF2 #D76FF2
triadic
#956FF2 #F2956F #6FF295
tetradic
#956FF2 #F26F8B #CCF26F #6FF2D7
square
#956FF2 #F26F8B #CCF26F #6FF2D7
split-complementary
#956FF2 #F2D76F #8BF26F
monochromatic
#4B13D4 #6C37ED #956FF2 #BEA7F7 #E8DFFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##956FF2#FFFFFF#000000##000000
##956FF21.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)
#3188F6
Deuteranopia (green-blind)
#3C85EF
Tritanopia (blue-blind)
#7D8AA6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #956ff2;
/* rgb */ color: rgb(149, 111, 242);
/* oklch */ color: oklch(64.1% 0.189 293.8);
Tailwind
colors: {
  custom: {
    50: '#b999f7',
    500: '#956ff2',
    950: '#000000',
  },
}
SCSS
$custom: #956ff2;
$custom-light: #b999f7;
$custom-dark: #000000;
JSON
{
  "hex": "#956ff2",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 257.405,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.64113,
    "c": 0.18889,
    "h": 293.8
  },
  "luminance": 0.24169
}

Semantic roles & 50–950 ramp

primary
#956FF2
secondary
#E6F1CB
accent
#E006A1
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #956FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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