#956BF6#956BF6

#956BF6 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.7% C 0.199 H 293.9°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#956BF6
RGBrgb(149, 107, 246)
HSLhsl(258, 89%, 69%)
HSVhsv(258, 57%, 96%)
CMYKcmyk(39.4%, 56.5%, 0%, 3.5%)
CIE-LABlab(55.64, 47.11, -64.11)
CIE-LCHlch(55.64, 79.56, 306.31°)
OKLaboklab(63.74% 0.0809 -0.1823)
OKLCHoklch(63.74% 0.199 293.9)
XYZxyz(34.2823, 23.5580, 89.9118)
Luminance0.2356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BF6 #CCF66B
analogous
#6B87F6 #956BF6 #DA6BF6
triadic
#956BF6 #F6956B #6BF695
tetradic
#956BF6 #F66B87 #CCF66B #6BF6DA
square
#956BF6 #F66B87 #CCF66B #6BF6DA
split-complementary
#956BF6 #F6DA6B #87F66B
monochromatic
#4B0DD9 #6C31F2 #956BF6 #BEA5FA #E8DEFD

Accessibility & contrast

On white

3.68
#956BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#956BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BF6
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BF6#FFFFFF#000000##000000
##956BF61.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C87FB
Deuteranopia (green-blind)
#2E83F3
Tritanopia (blue-blind)
#7C89A6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #956bf6;
/* rgb */ color: rgb(149, 107, 246);
/* oklch */ color: oklch(63.7% 0.199 293.9);
Tailwind
colors: {
  custom: {
    50: '#b997fa',
    500: '#956bf6',
    950: '#000000',
  },
}
SCSS
$custom: #956bf6;
$custom-light: #b997fa;
$custom-dark: #000000;
JSON
{
  "hex": "#956bf6",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 246
  },
  "hsl": {
    "h": 258.129,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.63738,
    "c": 0.19943,
    "h": 293.9
  },
  "luminance": 0.23559
}

Semantic roles & 50–950 ramp

primary
#956BF6
secondary
#E6F3CA
accent
#E500A0
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #956BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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