#8A56ED#8A56ED

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

Color values

HEX#8A56ED
RGBrgb(138, 86, 237)
HSLhsl(261, 81%, 63%)
HSVhsv(261, 64%, 93%)
CMYKcmyk(41.8%, 63.7%, 0%, 7.1%)
CIE-LABlab(49.70, 53.75, -68.74)
CIE-LCHlch(49.70, 87.26, 308.02°)
OKLaboklab(58.97% 0.0903 -0.1962)
OKLCHoklch(58.97% 0.216 294.7)
XYZxyz(29.0910, 18.1726, 82.0793)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A56ED #B9ED56
analogous
#566DED #8A56ED #D556ED
triadic
#8A56ED #ED8A56 #56ED8A
tetradic
#8A56ED #ED566D #B9ED56 #56EDD5
square
#8A56ED #ED566D #B9ED56 #56EDD5
split-complementary
#8A56ED #EDD556 #6DED56
monochromatic
#4B13B5 #641FE7 #8A56ED #B08DF3 #D7C5F9

Accessibility & contrast

On white

4.53
#8A56ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8A56ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A56ED
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A56ED#FFFFFF#000000##000000
##8A56ED1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#0074EA
Tritanopia (blue-blind)
#70799A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a56ed;
/* rgb */ color: rgb(138, 86, 237);
/* oklch */ color: oklch(59.0% 0.216 294.7);
Tailwind
colors: {
  custom: {
    50: '#b388f4',
    500: '#8a56ed',
    950: '#000000',
  },
}
SCSS
$custom: #8a56ed;
$custom-light: #b388f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a56ed",
  "rgb": {
    "r": 138,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 260.662,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58965,
    "c": 0.21601,
    "h": 294.7
  },
  "luminance": 0.18173
}

Semantic roles & 50–950 ramp

primary
#8A56ED
secondary
#D8EAB4
accent
#DD0894
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A56ED

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

Preview Lab → · Contrast checker → · Palette generator →

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