#8A53C2#8A53C2

#8A53C2 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.6% C 0.170 H 304.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8A53C2
RGBrgb(138, 83, 194)
HSLhsl(270, 48%, 54%)
HSVhsv(270, 57%, 76%)
CMYKcmyk(28.9%, 57.2%, 0%, 23.9%)
CIE-LABlab(46.29, 44.47, -49.72)
CIE-LCHlch(46.29, 66.71, 311.81°)
OKLaboklab(55.58% 0.0957 -0.1403)
OKLCHoklch(55.58% 0.17 304.3)
XYZxyz(23.3099, 15.4849, 52.7893)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A53C2 #8BC253
analogous
#5354C2 #8A53C2 #C253C2
triadic
#8A53C2 #C28A53 #53C28A
tetradic
#8A53C2 #C25354 #8BC253 #53C2C2
square
#8A53C2 #C25354 #8BC253 #53C2C2
split-complementary
#8A53C2 #C2C253 #54C253
monochromatic
#4D2872 #6B389F #8A53C2 #A980D2 #C7ADE2

Accessibility & contrast

On white

5.13
#8A53C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8A53C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A53C2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A53C2#FFFFFF#000000##FFFFFF
##8A53C21.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266CC6
Deuteranopia (green-blind)
#3C6EBF
Tritanopia (blue-blind)
#806982
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8a53c2;
/* rgb */ color: rgb(138, 83, 194);
/* oklch */ color: oklch(55.6% 0.170 304.3);
Tailwind
colors: {
  custom: {
    50: '#af86d5',
    500: '#8a53c2',
    950: '#000000',
  },
}
SCSS
$custom: #8a53c2;
$custom-light: #af86d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a53c2",
  "rgb": {
    "r": 138,
    "g": 83,
    "b": 194
  },
  "hsl": {
    "h": 269.73,
    "s": 47.639,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55584,
    "c": 0.16988,
    "h": 304.3
  },
  "luminance": 0.15485
}

Semantic roles & 50–950 ramp

primary
#8A53C2
secondary
#B9D0A1
accent
#D75195
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8A53C2

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

Preview Lab → · Contrast checker → · Palette generator →

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