#956BF1#956BF1

#956BF1 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.4% C 0.193 H 294.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#956BF1
RGBrgb(149, 107, 241)
HSLhsl(259, 83%, 68%)
HSVhsv(259, 56%, 95%)
CMYKcmyk(38.2%, 55.6%, 0%, 5.5%)
CIE-LABlab(55.33, 45.80, -61.83)
CIE-LCHlch(55.33, 76.95, 306.53°)
OKLaboklab(63.41% 0.0809 -0.1756)
OKLCHoklch(63.41% 0.193 294.7)
XYZxyz(33.5252, 23.2551, 85.9244)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BF1 #C7F16B
analogous
#6B84F1 #956BF1 #D86BF1
triadic
#956BF1 #F1956B #6BF195
tetradic
#956BF1 #F16B84 #C7F16B #6BF1D8
square
#956BF1 #F16B84 #C7F16B #6BF1D8
split-complementary
#956BF1 #F1D86B #84F16B
monochromatic
#4E13CE #6D33EC #956BF1 #BDA3F6 #E5DBFC

Accessibility & contrast

On white

3.72
#956BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#956BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BF1
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BF1#FFFFFF#000000##000000
##956BF11.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2786F5
Deuteranopia (green-blind)
#3682EE
Tritanopia (blue-blind)
#7E87A4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #956bf1;
/* rgb */ color: rgb(149, 107, 241);
/* oklch */ color: oklch(63.4% 0.193 294.7);
Tailwind
colors: {
  custom: {
    50: '#b997f6',
    500: '#956bf1',
    950: '#000000',
  },
}
SCSS
$custom: #956bf1;
$custom-light: #b997f6;
$custom-dark: #000000;
JSON
{
  "hex": "#956bf1",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 241
  },
  "hsl": {
    "h": 258.806,
    "s": 82.716,
    "l": 68.235
  },
  "oklch": {
    "l": 0.63413,
    "c": 0.19331,
    "h": 294.7
  },
  "luminance": 0.23256
}

Semantic roles & 50–950 ramp

primary
#956BF1
secondary
#E3F0C8
accent
#DF069B
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #956BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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