#956BE2#956BE2

#956BE2 is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.5% C 0.175 H 297.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#956BE2
RGBrgb(149, 107, 226)
HSLhsl(261, 67%, 65%)
HSVhsv(261, 53%, 89%)
CMYKcmyk(34.1%, 52.7%, 0%, 11.4%)
CIE-LABlab(54.44, 41.92, -54.86)
CIE-LCHlch(54.44, 69.05, 307.38°)
OKLaboklab(62.47% 0.0804 -0.1551)
OKLCHoklch(62.47% 0.175 297.4)
XYZxyz(31.3762, 22.3955, 74.6065)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#956BE2 #B8E26B
analogous
#6B7DE2 #956BE2 #D06BE2
triadic
#956BE2 #E2956B #6BE295
tetradic
#956BE2 #E26B7D #B8E26B #6BE2D0
square
#956BE2 #E26B7D #B8E26B #6BE2D0
split-complementary
#956BE2 #E2D06B #7DE26B
monochromatic
#5423B0 #7038D8 #956BE2 #BA9EEC #DED1F6

Accessibility & contrast

On white

3.83
#956BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#956BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #956BE2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##956BE2#FFFFFF#000000##000000
##956BE21.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C83E6
Deuteranopia (green-blind)
#4781DF
Tritanopia (blue-blind)
#84839C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #956be2;
/* rgb */ color: rgb(149, 107, 226);
/* oklch */ color: oklch(62.5% 0.175 297.4);
Tailwind
colors: {
  custom: {
    50: '#b896ec',
    500: '#956be2',
    950: '#000000',
  },
}
SCSS
$custom: #956be2;
$custom-light: #b896ec;
$custom-dark: #000000;
JSON
{
  "hex": "#956be2",
  "rgb": {
    "r": 149,
    "g": 107,
    "b": 226
  },
  "hsl": {
    "h": 261.176,
    "s": 67.232,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62469,
    "c": 0.17473,
    "h": 297.4
  },
  "luminance": 0.22396
}

Semantic roles & 50–950 ramp

primary
#956BE2
secondary
#DAE8C0
accent
#CF168E
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #956BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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