#956EEB#956EEB

#956EEB is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.5% C 0.182 H 295.1°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#956EEB
RGBrgb(149, 110, 235)
HSLhsl(259, 76%, 68%)
HSVhsv(259, 53%, 92%)
CMYKcmyk(36.6%, 53.2%, 0%, 7.8%)
CIE-LABlab(55.62, 42.57, -58.02)
CIE-LCHlch(55.62, 71.96, 306.27°)
OKLaboklab(63.51% 0.0771 -0.1644)
OKLCHoklch(63.51% 0.182 295.1)
XYZxyz(32.9619, 23.5389, 81.3880)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956EEB #C4EB6E
analogous
#6E85EB #956EEB #D46EEB
triadic
#956EEB #EB956E #6EEB95
tetradic
#956EEB #EB6E85 #C4EB6E #6EEBD4
square
#956EEB #EB6E85 #C4EB6E #6EEBD4
split-complementary
#956EEB #EBD46E #85EB6E
monochromatic
#501BC4 #6E38E4 #956EEB #BCA4F2 #E4DAFA

Accessibility & contrast

On white

3.68
#956EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#956EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956EEB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956EEB#FFFFFF#000000##000000
##956EEB1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EF
Deuteranopia (green-blind)
#4283E8
Tritanopia (blue-blind)
#8087A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #956eeb;
/* rgb */ color: rgb(149, 110, 235);
/* oklch */ color: oklch(63.5% 0.182 295.1);
Tailwind
colors: {
  custom: {
    50: '#b898f2',
    500: '#956eeb',
    950: '#000000',
  },
}
SCSS
$custom: #956eeb;
$custom-light: #b898f2;
$custom-dark: #000000;
JSON
{
  "hex": "#956eeb",
  "rgb": {
    "r": 149,
    "g": 110,
    "b": 235
  },
  "hsl": {
    "h": 258.72,
    "s": 75.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63511,
    "c": 0.18157,
    "h": 295.1
  },
  "luminance": 0.2354
}

Semantic roles & 50–950 ramp

primary
#956EEB
secondary
#E2EEC7
accent
#D80E99
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #956EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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