#956BEC#956BEC

#956BEC is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.1% C 0.187 H 295.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#956BEC
RGBrgb(149, 107, 236)
HSLhsl(260, 77%, 67%)
HSVhsv(260, 55%, 93%)
CMYKcmyk(36.9%, 54.7%, 0%, 7.5%)
CIE-LABlab(55.03, 44.50, -59.53)
CIE-LCHlch(55.03, 74.32, 306.78°)
OKLaboklab(63.09% 0.0808 -0.1688)
OKLCHoklch(63.09% 0.187 295.6)
XYZxyz(32.7885, 22.9605, 82.0449)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BEC #C2EC6B
analogous
#6B81EC #956BEC #D66BEC
triadic
#956BEC #EC956B #6BEC95
tetradic
#956BEC #EC6B81 #C2EC6B #6BECD6
square
#956BEC #EC6B81 #C2EC6B #6BECD6
split-complementary
#956BEC #ECD66B #81EC6B
monochromatic
#5119C4 #6E35E5 #956BEC #BCA1F3 #E3D7FA

Accessibility & contrast

On white

3.76
#956BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#956BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BEC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BEC#FFFFFF#000000##000000
##956BEC1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F85F0
Deuteranopia (green-blind)
#3C82E9
Tritanopia (blue-blind)
#8086A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #956bec;
/* rgb */ color: rgb(149, 107, 236);
/* oklch */ color: oklch(63.1% 0.187 295.6);
Tailwind
colors: {
  custom: {
    50: '#b996f3',
    500: '#956bec',
    950: '#000000',
  },
}
SCSS
$custom: #956bec;
$custom-light: #b996f3;
$custom-dark: #000000;
JSON
{
  "hex": "#956bec",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 259.535,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63092,
    "c": 0.18715,
    "h": 295.6
  },
  "luminance": 0.22961
}

Semantic roles & 50–950 ramp

primary
#956BEC
secondary
#E0EEC5
accent
#D90C97
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #956BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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