#956CE5#956CE5

#956CE5 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.8% C 0.177 H 296.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#956CE5
RGBrgb(149, 108, 229)
HSLhsl(260, 70%, 66%)
HSVhsv(260, 53%, 90%)
CMYKcmyk(34.9%, 52.8%, 0%, 10.2%)
CIE-LABlab(54.84, 42.13, -55.92)
CIE-LCHlch(54.84, 70.02, 306.99°)
OKLaboklab(62.82% 0.0793 -0.1582)
OKLCHoklch(62.82% 0.177 296.6)
XYZxyz(31.8963, 22.7713, 76.8284)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CE5 #BCE56C
analogous
#6C7FE5 #956CE5 #D26CE5
triadic
#956CE5 #E5956C #6CE595
tetradic
#956CE5 #E56C7F #BCE56C #6CE5D2
square
#956CE5 #E56C7F #BCE56C #6CE5D2
split-complementary
#956CE5 #E5D26C #7FE56C
monochromatic
#5320B6 #7038DC #956CE5 #BAA0EE #E0D4F7

Accessibility & contrast

On white

3.78
#956CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#956CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CE5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CE5#FFFFFF#000000##000000
##956CE51.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B84E9
Deuteranopia (green-blind)
#4682E2
Tritanopia (blue-blind)
#83849E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #956ce5;
/* rgb */ color: rgb(149, 108, 229);
/* oklch */ color: oklch(62.8% 0.177 296.6);
Tailwind
colors: {
  custom: {
    50: '#b897ee',
    500: '#956ce5',
    950: '#000000',
  },
}
SCSS
$custom: #956ce5;
$custom-light: #b897ee;
$custom-dark: #000000;
JSON
{
  "hex": "#956ce5",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 229
  },
  "hsl": {
    "h": 260.331,
    "s": 69.942,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62815,
    "c": 0.17699,
    "h": 296.6
  },
  "luminance": 0.22772
}

Semantic roles & 50–950 ramp

primary
#956CE5
secondary
#DDEAC3
accent
#D21491
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #956CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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