#8A53D4#8A53D4

#8A53D4 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.8% C 0.191 H 300.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8A53D4
RGBrgb(138, 83, 212)
HSLhsl(266, 60%, 58%)
HSVhsv(266, 61%, 83%)
CMYKcmyk(34.9%, 60.8%, 0%, 16.9%)
CIE-LABlab(47.42, 48.92, -58.26)
CIE-LCHlch(47.42, 76.08, 310.02°)
OKLaboklab(56.77% 0.0954 -0.1654)
OKLCHoklch(56.77% 0.191 300)
XYZxyz(25.4553, 16.3430, 64.0880)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A53D4 #9DD453
analogous
#535DD4 #8A53D4 #CA53D4
triadic
#8A53D4 #D48A53 #53D48A
tetradic
#8A53D4 #D4535D #9DD453 #53D4CA
square
#8A53D4 #D4535D #9DD453 #53D4CA
split-complementary
#8A53D4 #D4CA53 #5DD453
monochromatic
#4F238A #6B2FBB #8A53D4 #AB84E0 #CDB5EC

Accessibility & contrast

On white

4.92
#8A53D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8A53D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A53D4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A53D4#FFFFFF#000000##FFFFFF
##8A53D41.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#2470D1
Tritanopia (blue-blind)
#7A6F8C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8a53d4;
/* rgb */ color: rgb(138, 83, 212);
/* oklch */ color: oklch(56.8% 0.191 300.0);
Tailwind
colors: {
  custom: {
    50: '#b186e2',
    500: '#8a53d4',
    950: '#000000',
  },
}
SCSS
$custom: #8a53d4;
$custom-light: #b186e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a53d4",
  "rgb": {
    "r": 138,
    "g": 83,
    "b": 212
  },
  "hsl": {
    "h": 265.581,
    "s": 60,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56771,
    "c": 0.19098,
    "h": 300
  },
  "luminance": 0.16343
}

Semantic roles & 50–950 ramp

primary
#8A53D4
secondary
#C5DBA8
accent
#E345A0
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A53D4

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

Preview Lab → · Contrast checker → · Palette generator →

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