#8A3DC8#8A3DC8

#8A3DC8 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.207 H 305.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8A3DC8
RGBrgb(138, 61, 200)
HSLhsl(273, 56%, 51%)
HSVhsv(273, 70%, 78%)
CMYKcmyk(31%, 69.5%, 0%, 21.6%)
CIE-LABlab(42.63, 56.93, -59.09)
CIE-LCHlch(42.63, 82.05, 313.93°)
OKLaboklab(53.06% 0.121 -0.1678)
OKLCHoklch(53.06% 0.207 305.8)
XYZxyz(22.5730, 12.9111, 55.9353)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3DC8 #7BC83D
analogous
#443DC8 #8A3DC8 #C83DC1
triadic
#8A3DC8 #C88A3D #3DC88A
tetradic
#8A3DC8 #C8443D #7BC83D #3DC1C8
square
#8A3DC8 #C8443D #7BC83D #3DC1C8
split-complementary
#8A3DC8 #C1C83D #3DC844
monochromatic
#491F6C #6A2C9C #8A3DC8 #A76DD6 #C49CE3

Accessibility & contrast

On white

5.86
#8A3DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8A3DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3DC8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3DC8#FFFFFF#000000##FFFFFF
##8A3DC81.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#0665C5
Tritanopia (blue-blind)
#7F5D7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a3dc8;
/* rgb */ color: rgb(138, 61, 200);
/* oklch */ color: oklch(53.1% 0.207 305.8);
Tailwind
colors: {
  custom: {
    50: '#b179da',
    500: '#8a3dc8',
    950: '#000000',
  },
}
SCSS
$custom: #8a3dc8;
$custom-light: #b179da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3dc8",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 273.237,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5306,
    "c": 0.20684,
    "h": 305.8
  },
  "luminance": 0.12911
}

Semantic roles & 50–950 ramp

primary
#8A3DC8
secondary
#ADCF92
accent
#DF498C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A3DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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