#956CF1#956CF1

#956CF1 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.6% C 0.192 H 294.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#956CF1
RGBrgb(149, 108, 241)
HSLhsl(258, 83%, 68%)
HSVhsv(258, 55%, 95%)
CMYKcmyk(38.2%, 55.2%, 0%, 5.5%)
CIE-LABlab(55.55, 45.25, -61.49)
CIE-LCHlch(55.55, 76.34, 306.35°)
OKLaboklab(63.57% 0.0797 -0.1746)
OKLCHoklch(63.57% 0.192 294.5)
XYZxyz(33.6300, 23.4648, 85.9593)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CF1 #C8F16C
analogous
#6C85F1 #956CF1 #D76CF1
triadic
#956CF1 #F1956C #6CF195
tetradic
#956CF1 #F16C85 #C8F16C #6CF1D7
square
#956CF1 #F16C85 #C8F16C #6CF1D7
split-complementary
#956CF1 #F1D76C #85F16C
monochromatic
#4D14CF #6D34EC #956CF1 #BDA4F6 #E6DCFC

Accessibility & contrast

On white

3.69
#956CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#956CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CF1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CF1#FFFFFF#000000##000000
##956CF11.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A86F5
Deuteranopia (green-blind)
#3883EE
Tritanopia (blue-blind)
#7E88A4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #956cf1;
/* rgb */ color: rgb(149, 108, 241);
/* oklch */ color: oklch(63.6% 0.192 294.5);
Tailwind
colors: {
  custom: {
    50: '#b997f6',
    500: '#956cf1',
    950: '#000000',
  },
}
SCSS
$custom: #956cf1;
$custom-light: #b997f6;
$custom-dark: #000000;
JSON
{
  "hex": "#956cf1",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 241
  },
  "hsl": {
    "h": 258.496,
    "s": 82.609,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6357,
    "c": 0.1919,
    "h": 294.5
  },
  "luminance": 0.23466
}

Semantic roles & 50–950 ramp

primary
#956CF1
secondary
#E4F0C8
accent
#DF069C
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #956CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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