#8A53BE#8A53BE

#8A53BE is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.3% C 0.165 H 305.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8A53BE
RGBrgb(138, 83, 190)
HSLhsl(271, 45%, 54%)
HSVhsv(271, 56%, 75%)
CMYKcmyk(27.4%, 56.3%, 0%, 25.5%)
CIE-LABlab(46.05, 43.51, -47.78)
CIE-LCHlch(46.05, 64.62, 312.32°)
OKLaboklab(55.33% 0.0956 -0.1347)
OKLCHoklch(55.33% 0.165 305.4)
XYZxyz(22.8668, 15.3076, 50.4552)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A53BE #87BE53
analogous
#5453BE #8A53BE #BE53BC
triadic
#8A53BE #BE8A53 #53BE8A
tetradic
#8A53BE #BE5453 #87BE53 #53BCBE
square
#8A53BE #BE5453 #87BE53 #53BCBE
split-complementary
#8A53BE #BCBE53 #53BE54
monochromatic
#4C296D #6B3A9A #8A53BE #A87FCF #C6ACE0

Accessibility & contrast

On white

5.17
#8A53BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8A53BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A53BE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A53BE#FFFFFF#000000##FFFFFF
##8A53BE1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6BC2
Deuteranopia (green-blind)
#3F6DBB
Tritanopia (blue-blind)
#816780
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a53be;
/* rgb */ color: rgb(138, 83, 190);
/* oklch */ color: oklch(55.3% 0.165 305.4);
Tailwind
colors: {
  custom: {
    50: '#af85d2',
    500: '#8a53be',
    950: '#000000',
  },
}
SCSS
$custom: #8a53be;
$custom-light: #af85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a53be",
  "rgb": {
    "r": 138,
    "g": 83,
    "b": 190
  },
  "hsl": {
    "h": 270.841,
    "s": 45.148,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55332,
    "c": 0.16515,
    "h": 305.4
  },
  "luminance": 0.15307
}

Semantic roles & 50–950 ramp

primary
#8A53BE
secondary
#B6CD9F
accent
#D55392
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8A53BE

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

Preview Lab → · Contrast checker → · Palette generator →

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