#956CE0#956CE0

#956CE0 is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.5% C 0.171 H 297.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#956CE0
RGBrgb(149, 108, 224)
HSLhsl(261, 65%, 65%)
HSVhsv(261, 52%, 88%)
CMYKcmyk(33.5%, 51.8%, 0%, 12.2%)
CIE-LABlab(54.55, 40.85, -53.57)
CIE-LCHlch(54.55, 67.37, 307.33°)
OKLaboklab(62.51% 0.079 -0.1514)
OKLCHoklch(62.51% 0.171 297.6)
XYZxyz(31.2082, 22.4961, 73.2045)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CE0 #B7E06C
analogous
#6C7DE0 #956CE0 #CF6CE0
triadic
#956CE0 #E0956C #6CE095
tetradic
#956CE0 #E06C7D #B7E06C #6CE0CF
square
#956CE0 #E06C7D #B7E06C #6CE0CF
split-complementary
#956CE0 #E0CF6C #7DE06C
monochromatic
#5525AD #7139D5 #956CE0 #B99FEB #DED1F5

Accessibility & contrast

On white

3.82
#956CE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#956CE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CE0
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CE0#FFFFFF#000000##000000
##956CE01.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4083E4
Deuteranopia (green-blind)
#4B81DD
Tritanopia (blue-blind)
#84839C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #956ce0;
/* rgb */ color: rgb(149, 108, 224);
/* oklch */ color: oklch(62.5% 0.171 297.6);
Tailwind
colors: {
  custom: {
    50: '#b897ea',
    500: '#956ce0',
    950: '#000000',
  },
}
SCSS
$custom: #956ce0;
$custom-light: #b897ea;
$custom-dark: #000000;
JSON
{
  "hex": "#956ce0",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 224
  },
  "hsl": {
    "h": 261.207,
    "s": 65.169,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6251,
    "c": 0.17073,
    "h": 297.6
  },
  "luminance": 0.22497
}

Semantic roles & 50–950 ramp

primary
#956CE0
secondary
#DAE8C0
accent
#CD188D
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #956CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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