#8A53B5#8A53B5

#8A53B5 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.8% C 0.155 H 308.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8A53B5
RGBrgb(138, 83, 181)
HSLhsl(274, 40%, 52%)
HSVhsv(274, 54%, 71%)
CMYKcmyk(23.8%, 54.1%, 0%, 29%)
CIE-LABlab(45.53, 41.36, -43.36)
CIE-LCHlch(45.53, 59.93, 313.65°)
OKLaboklab(54.78% 0.0952 -0.1217)
OKLCHoklch(54.78% 0.155 308)
XYZxyz(21.9133, 14.9263, 45.4338)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A53B5 #7EB553
analogous
#5953B5 #8A53B5 #B553AF
triadic
#8A53B5 #B58A53 #53B58A
tetradic
#8A53B5 #B55953 #7EB553 #53AFB5
square
#8A53B5 #B55953 #7EB553 #53AFB5
split-complementary
#8A53B5 #AFB553 #53B559
monochromatic
#4A2B63 #6A3D8E #8A53B5 #A77EC7 #C4A9DA

Accessibility & contrast

On white

5.27
#8A53B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8A53B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A53B5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A53B5#FFFFFF#000000##FFFFFF
##8A53B51.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356AB8
Deuteranopia (green-blind)
#476CB3
Tritanopia (blue-blind)
#84657C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a53b5;
/* rgb */ color: rgb(138, 83, 181);
/* oklch */ color: oklch(54.8% 0.155 308.0);
Tailwind
colors: {
  custom: {
    50: '#af85cc',
    500: '#8a53b5',
    950: '#000000',
  },
}
SCSS
$custom: #8a53b5;
$custom-light: #af85cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a53b5",
  "rgb": {
    "r": 138,
    "g": 83,
    "b": 181
  },
  "hsl": {
    "h": 273.673,
    "s": 39.837,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54782,
    "c": 0.15454,
    "h": 308
  },
  "luminance": 0.14926
}

Semantic roles & 50–950 ramp

primary
#8A53B5
secondary
#AFC79C
accent
#D0588D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B13
muted
#807C82

Preview Lab

Preview with #8A53B5

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

Preview Lab → · Contrast checker → · Palette generator →

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