#8A56D0#8A56D0

#8A56D0 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.9% C 0.182 H 300.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8A56D0
RGBrgb(138, 86, 208)
HSLhsl(266, 56%, 58%)
HSVhsv(266, 59%, 82%)
CMYKcmyk(33.7%, 58.7%, 0%, 18.4%)
CIE-LABlab(47.77, 46.31, -55.42)
CIE-LCHlch(47.77, 72.22, 309.89°)
OKLaboklab(56.94% 0.092 -0.1571)
OKLCHoklch(56.94% 0.182 300.4)
XYZxyz(25.1915, 16.6127, 61.5417)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A56D0 #9CD056
analogous
#565FD0 #8A56D0 #C756D0
triadic
#8A56D0 #D08A56 #56D08A
tetradic
#8A56D0 #D0565F #9CD056 #56D0C7
square
#8A56D0 #D0565F #9CD056 #56D0C7
split-complementary
#8A56D0 #D0C756 #5FD056
monochromatic
#4F2586 #6B33B6 #8A56D0 #AB86DD #CCB6EB

Accessibility & contrast

On white

4.86
#8A56D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8A56D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A56D0
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A56D0#FFFFFF#000000##FFFFFF
##8A56D01.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1571D4
Deuteranopia (green-blind)
#3071CD
Tritanopia (blue-blind)
#7B6F8B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a56d0;
/* rgb */ color: rgb(138, 86, 208);
/* oklch */ color: oklch(56.9% 0.182 300.4);
Tailwind
colors: {
  custom: {
    50: '#b088df',
    500: '#8a56d0',
    950: '#000000',
  },
}
SCSS
$custom: #8a56d0;
$custom-light: #b088df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a56d0",
  "rgb": {
    "r": 138,
    "g": 86,
    "b": 208
  },
  "hsl": {
    "h": 265.574,
    "s": 56.481,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56942,
    "c": 0.18202,
    "h": 300.4
  },
  "luminance": 0.16613
}

Semantic roles & 50–950 ramp

primary
#8A56D0
secondary
#C5D9A8
accent
#E0489F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A56D0

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

Preview Lab → · Contrast checker → · Palette generator →

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