#8A56CE#8A56CE

#8A56CE is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.8% C 0.180 H 300.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8A56CE
RGBrgb(138, 86, 206)
HSLhsl(266, 55%, 57%)
HSVhsv(266, 58%, 81%)
CMYKcmyk(33%, 58.3%, 0%, 19.2%)
CIE-LABlab(47.64, 45.81, -54.47)
CIE-LCHlch(47.64, 71.17, 310.06°)
OKLaboklab(56.81% 0.092 -0.1543)
OKLCHoklch(56.81% 0.18 300.8)
XYZxyz(24.9470, 16.5149, 60.2540)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A56CE #9ACE56
analogous
#565ECE #8A56CE #C656CE
triadic
#8A56CE #CE8A56 #56CE8A
tetradic
#8A56CE #CE565E #9ACE56 #56CEC6
square
#8A56CE #CE565E #9ACE56 #56CEC6
split-complementary
#8A56CE #CEC656 #5ECE56
monochromatic
#4F2683 #6B34B3 #8A56CE #AB85DC #CCB5EA

Accessibility & contrast

On white

4.88
#8A56CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8A56CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A56CE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A56CE#FFFFFF#000000##FFFFFF
##8A56CE1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A70D2
Deuteranopia (green-blind)
#3370CB
Tritanopia (blue-blind)
#7C6F8A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8a56ce;
/* rgb */ color: rgb(138, 86, 206);
/* oklch */ color: oklch(56.8% 0.180 300.8);
Tailwind
colors: {
  custom: {
    50: '#b088de',
    500: '#8a56ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a56ce;
$custom-light: #b088de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a56ce",
  "rgb": {
    "r": 138,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 266,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5681,
    "c": 0.17963,
    "h": 300.8
  },
  "luminance": 0.16515
}

Semantic roles & 50–950 ramp

primary
#8A56CE
secondary
#C3D8A8
accent
#DE499E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A56CE

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

Preview Lab → · Contrast checker → · Palette generator →

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