#956CE8#956CE8

#956CE8 is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.0% C 0.181 H 296.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#956CE8
RGBrgb(149, 108, 232)
HSLhsl(260, 73%, 67%)
HSVhsv(260, 53%, 91%)
CMYKcmyk(35.8%, 53.4%, 0%, 9%)
CIE-LABlab(55.01, 42.91, -57.32)
CIE-LCHlch(55.01, 71.60, 306.81°)
OKLaboklab(63% 0.0794 -0.1624)
OKLCHoklch(63% 0.181 296.1)
XYZxyz(32.3188, 22.9403, 79.0535)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CE8 #BFE86C
analogous
#6C81E8 #956CE8 #D36CE8
triadic
#956CE8 #E8956C #6CE895
tetradic
#956CE8 #E86C81 #BFE86C #6CE8D3
square
#956CE8 #E86C81 #BFE86C #6CE8D3
split-complementary
#956CE8 #E8D36C #81E86C
monochromatic
#521DBC #6F37E0 #956CE8 #BBA1F0 #E1D6F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##956CE8#FFFFFF#000000##000000
##956CE81.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)
#3784EC
Deuteranopia (green-blind)
#4382E5
Tritanopia (blue-blind)
#8285A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #956ce8;
/* rgb */ color: rgb(149, 108, 232);
/* oklch */ color: oklch(63.0% 0.181 296.1);
Tailwind
colors: {
  custom: {
    50: '#b897f0',
    500: '#956ce8',
    950: '#000000',
  },
}
SCSS
$custom: #956ce8;
$custom-light: #b897f0;
$custom-dark: #000000;
JSON
{
  "hex": "#956ce8",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 232
  },
  "hsl": {
    "h": 259.839,
    "s": 72.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63001,
    "c": 0.18073,
    "h": 296.1
  },
  "luminance": 0.22941
}

Semantic roles & 50–950 ramp

primary
#956CE8
secondary
#DFECC4
accent
#D51094
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #956CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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