#956FE2#956FE2

#956FE2 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.1% C 0.169 H 296.5°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#956FE2
RGBrgb(149, 111, 226)
HSLhsl(260, 66%, 66%)
HSVhsv(260, 51%, 89%)
CMYKcmyk(34.1%, 50.9%, 0%, 11.4%)
CIE-LABlab(55.33, 39.67, -53.45)
CIE-LCHlch(55.33, 66.57, 306.58°)
OKLaboklab(63.13% 0.0753 -0.151)
OKLCHoklch(63.13% 0.169 296.5)
XYZxyz(31.8029, 23.2490, 74.7487)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956FE2 #BCE26F
analogous
#6F82E2 #956FE2 #CE6FE2
triadic
#956FE2 #E2956F #6FE295
tetradic
#956FE2 #E26F82 #BCE26F #6FE2CE
square
#956FE2 #E26F82 #BCE26F #6FE2CE
split-complementary
#956FE2 #E2CE6F #82E26F
monochromatic
#5324B3 #703CD8 #956FE2 #BAA2EC #E0D5F7

Accessibility & contrast

On white

3.72
#956FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#956FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956FE2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956FE2#FFFFFF#000000##000000
##956FE21.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4485E6
Deuteranopia (green-blind)
#4D83DF
Tritanopia (blue-blind)
#84869E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #956fe2;
/* rgb */ color: rgb(149, 111, 226);
/* oklch */ color: oklch(63.1% 0.169 296.5);
Tailwind
colors: {
  custom: {
    50: '#b899ec',
    500: '#956fe2',
    950: '#000000',
  },
}
SCSS
$custom: #956fe2;
$custom-light: #b899ec;
$custom-dark: #000000;
JSON
{
  "hex": "#956fe2",
  "rgb": {
    "r": 149,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 259.826,
    "s": 66.474,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63125,
    "c": 0.16874,
    "h": 296.5
  },
  "luminance": 0.23249
}

Semantic roles & 50–950 ramp

primary
#956FE2
secondary
#DDE9C4
accent
#CE1792
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #956FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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