#956CEF#956CEF

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

Color values

HEX#956CEF
RGBrgb(149, 108, 239)
HSLhsl(259, 80%, 68%)
HSVhsv(259, 55%, 94%)
CMYKcmyk(37.7%, 54.8%, 0%, 6.3%)
CIE-LABlab(55.43, 44.72, -60.57)
CIE-LCHlch(55.43, 75.29, 306.44°)
OKLaboklab(63.44% 0.0796 -0.1719)
OKLCHoklch(63.44% 0.189 294.9)
XYZxyz(33.3329, 23.3460, 84.3947)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CEF #C6EF6C
analogous
#6C84EF #956CEF #D76CEF
triadic
#956CEF #EF956C #6CEF95
tetradic
#956CEF #EF6C84 #C6EF6C #6CEFD7
square
#956CEF #EF6C84 #C6EF6C #6CEFD7
split-complementary
#956CEF #EFD76C #84EF6C
monochromatic
#4F16CB #6D35E9 #956CEF #BDA3F5 #E5DAFB

Accessibility & contrast

On white

3.70
#956CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#956CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CEF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CEF#FFFFFF#000000##000000
##956CEF1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E86F3
Deuteranopia (green-blind)
#3A83EC
Tritanopia (blue-blind)
#7F87A3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #956cef;
/* rgb */ color: rgb(149, 108, 239);
/* oklch */ color: oklch(63.4% 0.189 294.9);
Tailwind
colors: {
  custom: {
    50: '#b997f5',
    500: '#956cef',
    950: '#000000',
  },
}
SCSS
$custom: #956cef;
$custom-light: #b997f5;
$custom-dark: #000000;
JSON
{
  "hex": "#956cef",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 258.779,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63442,
    "c": 0.18943,
    "h": 294.9
  },
  "luminance": 0.23347
}

Semantic roles & 50–950 ramp

primary
#956CEF
secondary
#E3EFC7
accent
#DD099A
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #956CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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