#8A56F4#8A56F4

#8A56F4 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.5% C 0.224 H 293.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8A56F4
RGBrgb(138, 86, 244)
HSLhsl(260, 88%, 65%)
HSVhsv(260, 65%, 96%)
CMYKcmyk(43.4%, 64.8%, 0%, 4.3%)
CIE-LABlab(50.20, 55.58, -71.85)
CIE-LCHlch(50.20, 90.84, 307.72°)
OKLaboklab(59.48% 0.0896 -0.2054)
OKLCHoklch(59.48% 0.224 293.6)
XYZxyz(30.1337, 18.5897, 87.5709)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A56F4 #C0F456
analogous
#5671F4 #8A56F4 #D956F4
triadic
#8A56F4 #F48A56 #56F48A
tetradic
#8A56F4 #F45671 #C0F456 #56F4D9
square
#8A56F4 #F45671 #C0F456 #56F4D9
split-complementary
#8A56F4 #F4D956 #71F456
monochromatic
#490DC3 #621DF0 #8A56F4 #B28FF8 #DAC9FB

Accessibility & contrast

On white

4.45
#8A56F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8A56F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A56F4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A56F4#FFFFFF#000000##000000
##8A56F41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a56f4;
/* rgb */ color: rgb(138, 86, 244);
/* oklch */ color: oklch(59.5% 0.224 293.6);
Tailwind
colors: {
  custom: {
    50: '#b389f9',
    500: '#8a56f4',
    950: '#000000',
  },
}
SCSS
$custom: #8a56f4;
$custom-light: #b389f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a56f4",
  "rgb": {
    "r": 138,
    "g": 86,
    "b": 244
  },
  "hsl": {
    "h": 259.747,
    "s": 87.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59482,
    "c": 0.22406,
    "h": 293.6
  },
  "luminance": 0.18591
}

Semantic roles & 50–950 ramp

primary
#8A56F4
secondary
#DCEEB8
accent
#E4019A
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A56F4

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

Preview Lab → · Contrast checker → · Palette generator →

#8A56F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva