#956BFE#956BFE

#956BFE is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.3% C 0.209 H 292.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#956BFE
RGBrgb(149, 107, 254)
HSLhsl(257, 99%, 71%)
HSVhsv(257, 58%, 100%)
CMYKcmyk(41.3%, 57.9%, 0%, 0.4%)
CIE-LABlab(56.15, 49.22, -67.73)
CIE-LCHlch(56.15, 83.73, 306.01°)
OKLaboklab(64.27% 0.0808 -0.1929)
OKLCHoklch(64.27% 0.209 292.7)
XYZxyz(35.5367, 24.0597, 96.5184)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BFE #D4FE6B
analogous
#6B8AFE #956BFE #DF6BFE
triadic
#956BFE #FE956B #6BFE95
tetradic
#956BFE #FE6B8A #D4FE6B #6BFEDF
square
#956BFE #FE6B8A #D4FE6B #6BFEDF
split-complementary
#956BFE #FEDF6B #8AFE6B
monochromatic
#4502ED #692EFE #956BFE #C1A8FE #E9E1FF

Accessibility & contrast

On white

3.61
#956BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#956BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BFE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BFE#FFFFFF#000000##000000
##956BFE1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#1B84FB
Tritanopia (blue-blind)
#788BAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #956bfe;
/* rgb */ color: rgb(149, 107, 254);
/* oklch */ color: oklch(64.3% 0.209 292.7);
Tailwind
colors: {
  custom: {
    50: '#ba97ff',
    500: '#956bfe',
    950: '#000000',
  },
}
SCSS
$custom: #956bfe;
$custom-light: #ba97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#956bfe",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 254
  },
  "hsl": {
    "h": 257.143,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6427,
    "c": 0.20916,
    "h": 292.7
  },
  "luminance": 0.24061
}

Semantic roles & 50–950 ramp

primary
#956BFE
secondary
#EBF6CF
accent
#E600A4
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #956BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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