#8A56FF#8A56FF

#8A56FF is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.3% C 0.237 H 291.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8A56FF
RGBrgb(138, 86, 255)
HSLhsl(258, 100%, 67%)
HSVhsv(258, 66%, 100%)
CMYKcmyk(45.9%, 66.3%, 0%, 0%)
CIE-LABlab(51.01, 58.47, -76.66)
CIE-LCHlch(51.01, 96.41, 307.33°)
OKLaboklab(60.32% 0.0882 -0.2195)
OKLCHoklch(60.32% 0.237 291.9)
XYZxyz(31.8540, 19.2778, 96.6310)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A56FF #CBFF56
analogous
#5676FF #8A56FF #DF56FF
triadic
#8A56FF #FF8A56 #56FF8A
tetradic
#8A56FF #FF5676 #CBFF56 #56FFDF
square
#8A56FF #FF5676 #CBFF56 #56FFDF
split-complementary
#8A56FF #FFDF56 #76FF56
monochromatic
#4300DB #6019FF #8A56FF #B493FF #DFD0FF

Accessibility & contrast

On white

4.32
#8A56FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8A56FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A56FF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A56FF#FFFFFF#000000##000000
##8A56FF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0076FC
Tritanopia (blue-blind)
#6680A4
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a56ff;
/* rgb */ color: rgb(138, 86, 255);
/* oklch */ color: oklch(60.3% 0.237 291.9);
Tailwind
colors: {
  custom: {
    50: '#b589ff',
    500: '#8a56ff',
    950: '#000000',
  },
}
SCSS
$custom: #8a56ff;
$custom-light: #b589ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a56ff",
  "rgb": {
    "r": 138,
    "g": 86,
    "b": 255
  },
  "hsl": {
    "h": 258.462,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60315,
    "c": 0.23657,
    "h": 291.9
  },
  "luminance": 0.19279
}

Semantic roles & 50–950 ramp

primary
#8A56FF
secondary
#E3F3BD
accent
#E6009F
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8A56FF

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

Preview Lab → · Contrast checker → · Palette generator →

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