#8A53B1#8A53B1

#8A53B1 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.5% C 0.150 H 309.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8A53B1
RGBrgb(138, 83, 177)
HSLhsl(275, 38%, 51%)
HSVhsv(275, 53%, 69%)
CMYKcmyk(22%, 53.1%, 0%, 30.6%)
CIE-LABlab(45.31, 40.43, -41.37)
CIE-LCHlch(45.31, 57.84, 314.34°)
OKLaboklab(54.55% 0.0949 -0.1159)
OKLCHoklch(54.55% 0.15 309.3)
XYZxyz(21.5088, 14.7645, 43.3032)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A53B1 #7AB153
analogous
#5B53B1 #8A53B1 #B153A9
triadic
#8A53B1 #B18A53 #53B18A
tetradic
#8A53B1 #B15B53 #7AB153 #53A9B1
square
#8A53B1 #B15B53 #7AB153 #53A9B1
split-complementary
#8A53B1 #A9B153 #53B15B
monochromatic
#492B5F #6A3E89 #8A53B1 #A77DC4 #C3A7D7

Accessibility & contrast

On white

5.31
#8A53B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8A53B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A53B1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A53B1#FFFFFF#000000##FFFFFF
##8A53B11.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B4
Deuteranopia (green-blind)
#4A6CAF
Tritanopia (blue-blind)
#85637A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a53b1;
/* rgb */ color: rgb(138, 83, 177);
/* oklch */ color: oklch(54.5% 0.150 309.3);
Tailwind
colors: {
  custom: {
    50: '#ae85c9',
    500: '#8a53b1',
    950: '#000000',
  },
}
SCSS
$custom: #8a53b1;
$custom-light: #ae85c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a53b1",
  "rgb": {
    "r": 138,
    "g": 83,
    "b": 177
  },
  "hsl": {
    "h": 275.106,
    "s": 37.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54545,
    "c": 0.14982,
    "h": 309.3
  },
  "luminance": 0.14764
}

Semantic roles & 50–950 ramp

primary
#8A53B1
secondary
#ACC59B
accent
#CE5A8A
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8A53B1

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

Preview Lab → · Contrast checker → · Palette generator →

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