#956CF7#956CF7

#956CF7 is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.0% C 0.199 H 293.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#956CF7
RGBrgb(149, 108, 247)
HSLhsl(258, 90%, 70%)
HSVhsv(258, 56%, 97%)
CMYKcmyk(39.7%, 56.3%, 0%, 3.1%)
CIE-LABlab(55.92, 46.82, -64.23)
CIE-LCHlch(55.92, 79.48, 306.09°)
OKLaboklab(63.96% 0.0797 -0.1826)
OKLCHoklch(63.96% 0.199 293.6)
XYZxyz(34.5410, 23.8292, 90.7573)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CF7 #CEF76C
analogous
#6C89F7 #956CF7 #DB6CF7
triadic
#956CF7 #F7956C #6CF795
tetradic
#956CF7 #F76C89 #CEF76C #6CF7DB
square
#956CF7 #F76C89 #CEF76C #6CF7DB
split-complementary
#956CF7 #F7DB6C #89F76C
monochromatic
#4A0CDD #6B32F4 #956CF7 #BFA6FA #E9E0FD

Accessibility & contrast

On white

3.64
#956CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#956CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CF7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CF7#FFFFFF#000000##000000
##956CF71.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E88FC
Deuteranopia (green-blind)
#2E84F4
Tritanopia (blue-blind)
#7B8AA7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #956cf7;
/* rgb */ color: rgb(149, 108, 247);
/* oklch */ color: oklch(64.0% 0.199 293.6);
Tailwind
colors: {
  custom: {
    50: '#b997fb',
    500: '#956cf7',
    950: '#000000',
  },
}
SCSS
$custom: #956cf7;
$custom-light: #b997fb;
$custom-dark: #000000;
JSON
{
  "hex": "#956cf7",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 257.698,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6396,
    "c": 0.19928,
    "h": 293.6
  },
  "luminance": 0.2383
}

Semantic roles & 50–950 ramp

primary
#956CF7
secondary
#E8F3CC
accent
#E600A2
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #956CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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