#8A3DD0#8A3DD0

#8A3DD0 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.6% C 0.215 H 303.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8A3DD0
RGBrgb(138, 61, 208)
HSLhsl(271, 61%, 53%)
HSVhsv(271, 71%, 82%)
CMYKcmyk(33.7%, 70.7%, 0%, 18.4%)
CIE-LABlab(43.20, 58.77, -62.79)
CIE-LCHlch(43.20, 86.00, 313.11°)
OKLaboklab(53.65% 0.1198 -0.1786)
OKLCHoklch(53.65% 0.215 303.8)
XYZxyz(23.5325, 13.2949, 60.9887)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3DD0 #83D03D
analogous
#413DD0 #8A3DD0 #D03DCC
triadic
#8A3DD0 #D08A3D #3DD08A
tetradic
#8A3DD0 #D0413D #83D03D #3DCCD0
square
#8A3DD0 #D0413D #83D03D #3DCCD0
split-complementary
#8A3DD0 #CCD03D #3DD041
monochromatic
#4B1D76 #6B29A7 #8A3DD0 #A86EDC #C5A0E8

Accessibility & contrast

On white

5.74
#8A3DD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8A3DD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3DD0
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3DD0#FFFFFF#000000##FFFFFF
##8A3DD01.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a3dd0;
/* rgb */ color: rgb(138, 61, 208);
/* oklch */ color: oklch(53.6% 0.215 303.8);
Tailwind
colors: {
  custom: {
    50: '#b279df',
    500: '#8a3dd0',
    950: '#000000',
  },
}
SCSS
$custom: #8a3dd0;
$custom-light: #b279df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3dd0",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 208
  },
  "hsl": {
    "h": 271.429,
    "s": 60.996,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5365,
    "c": 0.21507,
    "h": 303.8
  },
  "luminance": 0.13295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A3DD0

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

Preview Lab → · Contrast checker → · Palette generator →

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