#956BEF#956BEF

#956BEF is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.3% C 0.191 H 295.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#956BEF
RGBrgb(149, 107, 239)
HSLhsl(259, 80%, 68%)
HSVhsv(259, 55%, 94%)
CMYKcmyk(37.7%, 55.2%, 0%, 6.3%)
CIE-LABlab(55.21, 45.28, -60.91)
CIE-LCHlch(55.21, 75.90, 306.63°)
OKLaboklab(63.28% 0.0808 -0.1729)
OKLCHoklch(63.28% 0.191 295.1)
XYZxyz(33.2281, 23.1363, 84.3597)
Luminance0.2314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BEF #C5EF6B
analogous
#6B83EF #956BEF #D76BEF
triadic
#956BEF #EF956B #6BEF95
tetradic
#956BEF #EF6B83 #C5EF6B #6BEFD7
square
#956BEF #EF6B83 #C5EF6B #6BEFD7
split-complementary
#956BEF #EFD76B #83EF6B
monochromatic
#4F16CA #6D34E9 #956BEF #BDA2F5 #E4D9FB

Accessibility & contrast

On white

3.73
#956BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#956BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BEF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BEF#FFFFFF#000000##000000
##956BEF1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B85F3
Deuteranopia (green-blind)
#3882EC
Tritanopia (blue-blind)
#7F87A3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #956bef;
/* rgb */ color: rgb(149, 107, 239);
/* oklch */ color: oklch(63.3% 0.191 295.1);
Tailwind
colors: {
  custom: {
    50: '#b997f5',
    500: '#956bef',
    950: '#000000',
  },
}
SCSS
$custom: #956bef;
$custom-light: #b997f5;
$custom-dark: #000000;
JSON
{
  "hex": "#956bef",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 259.091,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63284,
    "c": 0.19085,
    "h": 295.1
  },
  "luminance": 0.23137
}

Semantic roles & 50–950 ramp

primary
#956BEF
secondary
#E2EFC7
accent
#DD0999
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #956BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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