#8A3BD0#8A3BD0

#8A3BD0 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.4% C 0.217 H 304.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8A3BD0
RGBrgb(138, 59, 208)
HSLhsl(272, 61%, 52%)
HSVhsv(272, 72%, 82%)
CMYKcmyk(33.7%, 71.6%, 0%, 18.4%)
CIE-LABlab(42.89, 59.65, -63.30)
CIE-LCHlch(42.89, 86.98, 313.30°)
OKLaboklab(53.43% 0.1217 -0.1801)
OKLCHoklch(53.43% 0.217 304)
XYZxyz(23.4277, 13.0853, 60.9538)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BD0 #81D03B
analogous
#3F3BD0 #8A3BD0 #D03BCC
triadic
#8A3BD0 #D08A3B #3BD08A
tetradic
#8A3BD0 #D03F3B #81D03B #3BCCD0
square
#8A3BD0 #D03F3B #81D03B #3BCCD0
split-complementary
#8A3BD0 #CCD03B #3BD03F
monochromatic
#4B1C75 #6B28A6 #8A3BD0 #A76CDC #C59EE8

Accessibility & contrast

On white

5.81
#8A3BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8A3BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BD0
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BD0#FFFFFF#000000##FFFFFF
##8A3BD01.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D4
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#7C5F82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a3bd0;
/* rgb */ color: rgb(138, 59, 208);
/* oklch */ color: oklch(53.4% 0.217 304.0);
Tailwind
colors: {
  custom: {
    50: '#b278df',
    500: '#8a3bd0',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bd0;
$custom-light: #b278df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bd0",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 208
  },
  "hsl": {
    "h": 271.812,
    "s": 61.317,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53428,
    "c": 0.21739,
    "h": 304
  },
  "luminance": 0.13085
}

Semantic roles & 50–950 ramp

primary
#8A3BD0
secondary
#B1D493
accent
#E4438F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A3BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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