#956CE2#956CE2

#956CE2 is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.6% C 0.173 H 297.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#956CE2
RGBrgb(149, 108, 226)
HSLhsl(261, 67%, 65%)
HSVhsv(261, 52%, 89%)
CMYKcmyk(34.1%, 52.2%, 0%, 11.4%)
CIE-LABlab(54.66, 41.36, -54.51)
CIE-LCHlch(54.66, 68.43, 307.19°)
OKLaboklab(62.63% 0.0791 -0.1541)
OKLCHoklch(62.63% 0.173 297.2)
XYZxyz(31.4810, 22.6052, 74.6414)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956CE2 #B9E26C
analogous
#6C7EE2 #956CE2 #D06CE2
triadic
#956CE2 #E2956C #6CE295
tetradic
#956CE2 #E26C7E #B9E26C #6CE2D0
square
#956CE2 #E26C7E #B9E26C #6CE2D0
split-complementary
#956CE2 #E2D06C #7EE26C
monochromatic
#5423B1 #7039D8 #956CE2 #BA9FEC #DFD2F6

Accessibility & contrast

On white

3.80
#956CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#956CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956CE2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956CE2#FFFFFF#000000##000000
##956CE21.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E83E6
Deuteranopia (green-blind)
#4981DF
Tritanopia (blue-blind)
#84839D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #956ce2;
/* rgb */ color: rgb(149, 108, 226);
/* oklch */ color: oklch(62.6% 0.173 297.2);
Tailwind
colors: {
  custom: {
    50: '#b897ec',
    500: '#956ce2',
    950: '#000000',
  },
}
SCSS
$custom: #956ce2;
$custom-light: #b897ec;
$custom-dark: #000000;
JSON
{
  "hex": "#956ce2",
  "rgb": {
    "r": 149,
    "g": 108,
    "b": 226
  },
  "hsl": {
    "h": 260.847,
    "s": 67.045,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62631,
    "c": 0.17323,
    "h": 297.2
  },
  "luminance": 0.22606
}

Semantic roles & 50–950 ramp

primary
#956CE2
secondary
#DBE9C1
accent
#CF178F
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #956CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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