#956CE7#956CE7

#956CE7 is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.9% C 0.179 H 296.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#956CE7
RGBrgb(149, 108, 231)
HSLhsl(260, 72%, 66%)
HSVhsv(260, 53%, 91%)
CMYKcmyk(35.5%, 53.2%, 0%, 9.4%)
CIE-LABlab(54.95, 42.65, -56.86)
CIE-LCHlch(54.95, 71.07, 306.87°)
OKLaboklab(62.94% 0.0794 -0.161)
OKLCHoklch(62.94% 0.179 296.2)
XYZxyz(32.1771, 22.8837, 78.3075)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CE7 #BEE76C
analogous
#6C81E7 #956CE7 #D36CE7
triadic
#956CE7 #E7956C #6CE795
tetradic
#956CE7 #E76C81 #BEE76C #6CE7D3
square
#956CE7 #E76C81 #BEE76C #6CE7D3
split-complementary
#956CE7 #E7D36C #81E76C
monochromatic
#521EBA #6F37DE #956CE7 #BBA1F0 #E1D5F8

Accessibility & contrast

On white

3.77
#956CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#956CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CE7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CE7#FFFFFF#000000##000000
##956CE71.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3884EB
Deuteranopia (green-blind)
#4482E4
Tritanopia (blue-blind)
#82859F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #956ce7;
/* rgb */ color: rgb(149, 108, 231);
/* oklch */ color: oklch(62.9% 0.179 296.2);
Tailwind
colors: {
  custom: {
    50: '#b897ef',
    500: '#956ce7',
    950: '#000000',
  },
}
SCSS
$custom: #956ce7;
$custom-light: #b897ef;
$custom-dark: #000000;
JSON
{
  "hex": "#956ce7",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 231
  },
  "hsl": {
    "h": 260,
    "s": 71.93,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62939,
    "c": 0.17949,
    "h": 296.2
  },
  "luminance": 0.22884
}

Semantic roles & 50–950 ramp

primary
#956CE7
secondary
#DEEBC3
accent
#D41293
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #956CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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