#8A53B2#8A53B2

#8A53B2 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.6% C 0.151 H 309.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A53B2
RGBrgb(138, 83, 178)
HSLhsl(275, 38%, 51%)
HSVhsv(275, 53%, 70%)
CMYKcmyk(22.5%, 53.4%, 0%, 30.2%)
CIE-LABlab(45.37, 40.66, -41.87)
CIE-LCHlch(45.37, 58.36, 314.16°)
OKLaboklab(54.6% 0.095 -0.1174)
OKLCHoklch(54.6% 0.151 309)
XYZxyz(21.6088, 14.8045, 43.8300)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A53B2 #7BB253
analogous
#5A53B2 #8A53B2 #B253AA
triadic
#8A53B2 #B28A53 #53B28A
tetradic
#8A53B2 #B25A53 #7BB253 #53AAB2
square
#8A53B2 #B25A53 #7BB253 #53AAB2
split-complementary
#8A53B2 #AAB253 #53B25A
monochromatic
#492B60 #6A3E8A #8A53B2 #A77DC5 #C4A8D8

Accessibility & contrast

On white

5.30
#8A53B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8A53B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A53B2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A53B2#FFFFFF#000000##FFFFFF
##8A53B21.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#496CB0
Tritanopia (blue-blind)
#85647A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a53b2;
/* rgb */ color: rgb(138, 83, 178);
/* oklch */ color: oklch(54.6% 0.151 309.0);
Tailwind
colors: {
  custom: {
    50: '#ae85c9',
    500: '#8a53b2',
    950: '#000000',
  },
}
SCSS
$custom: #8a53b2;
$custom-light: #ae85c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a53b2",
  "rgb": {
    "r": 138,
    "g": 83,
    "b": 178
  },
  "hsl": {
    "h": 274.737,
    "s": 38.153,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54603,
    "c": 0.151,
    "h": 309
  },
  "luminance": 0.14804
}

Semantic roles & 50–950 ramp

primary
#8A53B2
secondary
#ADC59B
accent
#CE5A8B
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8A53B2

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

Preview Lab → · Contrast checker → · Palette generator →

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