#8956F4#8956F4

#8956F4 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.4% C 0.224 H 293.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8956F4
RGBrgb(137, 86, 244)
HSLhsl(259, 88%, 65%)
HSVhsv(259, 65%, 96%)
CMYKcmyk(43.9%, 64.8%, 0%, 4.3%)
CIE-LABlab(50.10, 55.39, -72.02)
CIE-LCHlch(50.10, 90.85, 307.56°)
OKLaboklab(59.39% 0.0882 -0.2059)
OKLCHoklch(59.39% 0.224 293.2)
XYZxyz(29.9690, 18.5047, 87.5632)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8956F4 #C1F456
analogous
#5672F4 #8956F4 #D856F4
triadic
#8956F4 #F48956 #56F489
tetradic
#8956F4 #F45672 #C1F456 #56F4D8
square
#8956F4 #F45672 #C1F456 #56F4D8
split-complementary
#8956F4 #F4D856 #72F456
monochromatic
#480DC3 #611DF0 #8956F4 #B18FF8 #D9C9FB

Accessibility & contrast

On white

4.47
#8956F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8956F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8956F4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8956F4#FFFFFF#000000##000000
##8956F41.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F9
Deuteranopia (green-blind)
#0074F1
Tritanopia (blue-blind)
#6A7C9E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8956f4;
/* rgb */ color: rgb(137, 86, 244);
/* oklch */ color: oklch(59.4% 0.224 293.2);
Tailwind
colors: {
  custom: {
    50: '#b388f9',
    500: '#8956f4',
    950: '#000000',
  },
}
SCSS
$custom: #8956f4;
$custom-light: #b388f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8956f4",
  "rgb": {
    "r": 137,
    "g": 86,
    "b": 244
  },
  "hsl": {
    "h": 259.367,
    "s": 87.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59385,
    "c": 0.22402,
    "h": 293.2
  },
  "luminance": 0.18506
}

Semantic roles & 50–950 ramp

primary
#8956F4
secondary
#DDEEB8
accent
#E4019B
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8956F4

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

Preview Lab → · Contrast checker → · Palette generator →

#8956F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva