#8A56EE#8A56EE

#8A56EE is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.0% C 0.217 H 294.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8A56EE
RGBrgb(138, 86, 238)
HSLhsl(261, 82%, 64%)
HSVhsv(261, 64%, 93%)
CMYKcmyk(42%, 63.9%, 0%, 6.7%)
CIE-LABlab(49.78, 54.01, -69.18)
CIE-LCHlch(49.78, 87.77, 307.98°)
OKLaboklab(59.04% 0.0902 -0.1975)
OKLCHoklch(59.04% 0.217 294.5)
XYZxyz(29.2375, 18.2312, 82.8509)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A56EE #BAEE56
analogous
#566EEE #8A56EE #D656EE
triadic
#8A56EE #EE8A56 #56EE8A
tetradic
#8A56EE #EE566E #BAEE56 #56EED6
square
#8A56EE #EE566E #BAEE56 #56EED6
split-complementary
#8A56EE #EED656 #6EEE56
monochromatic
#4B12B7 #641EE8 #8A56EE #B08EF4 #D7C5F9

Accessibility & contrast

On white

4.52
#8A56EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8A56EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A56EE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A56EE#FFFFFF#000000##000000
##8A56EE1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F3
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#6F799A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a56ee;
/* rgb */ color: rgb(138, 86, 238);
/* oklch */ color: oklch(59.0% 0.217 294.5);
Tailwind
colors: {
  custom: {
    50: '#b388f4',
    500: '#8a56ee',
    950: '#000000',
  },
}
SCSS
$custom: #8a56ee;
$custom-light: #b388f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a56ee",
  "rgb": {
    "r": 138,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 260.526,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59038,
    "c": 0.21716,
    "h": 294.5
  },
  "luminance": 0.18232
}

Semantic roles & 50–950 ramp

primary
#8A56EE
secondary
#D8EBB5
accent
#DE0795
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A56EE

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

Preview Lab → · Contrast checker → · Palette generator →

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