#8A3CD0#8A3CD0

#8A3CD0 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.5% C 0.216 H 303.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8A3CD0
RGBrgb(138, 60, 208)
HSLhsl(272, 61%, 53%)
HSVhsv(272, 71%, 82%)
CMYKcmyk(33.7%, 71.2%, 0%, 18.4%)
CIE-LABlab(43.05, 59.22, -63.04)
CIE-LCHlch(43.05, 86.49, 313.21°)
OKLaboklab(53.54% 0.1207 -0.1794)
OKLCHoklch(53.54% 0.216 303.9)
XYZxyz(23.4796, 13.1891, 60.9711)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3CD0 #82D03C
analogous
#403CD0 #8A3CD0 #D03CCC
triadic
#8A3CD0 #D08A3C #3CD08A
tetradic
#8A3CD0 #D0403C #82D03C #3CCCD0
square
#8A3CD0 #D0403C #82D03C #3CCCD0
split-complementary
#8A3CD0 #CCD03C #3CD040
monochromatic
#4B1C75 #6B28A7 #8A3CD0 #A86DDC #C59FE8

Accessibility & contrast

On white

5.77
#8A3CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8A3CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3CD0
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3CD0#FFFFFF#000000##FFFFFF
##8A3CD01.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a3cd0;
/* rgb */ color: rgb(138, 60, 208);
/* oklch */ color: oklch(53.5% 0.216 303.9);
Tailwind
colors: {
  custom: {
    50: '#b278df',
    500: '#8a3cd0',
    950: '#000000',
  },
}
SCSS
$custom: #8a3cd0;
$custom-light: #b278df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3cd0",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 208
  },
  "hsl": {
    "h": 271.622,
    "s": 61.157,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53539,
    "c": 0.21623,
    "h": 303.9
  },
  "luminance": 0.13189
}

Semantic roles & 50–950 ramp

primary
#8A3CD0
secondary
#B2D494
accent
#E44490
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A3CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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