#8A3DC9#8A3DC9

#8A3DC9 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.208 H 305.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8A3DC9
RGBrgb(138, 61, 201)
HSLhsl(273, 56%, 51%)
HSVhsv(273, 70%, 79%)
CMYKcmyk(31.3%, 69.7%, 0%, 21.2%)
CIE-LABlab(42.70, 57.16, -59.56)
CIE-LCHlch(42.70, 82.55, 313.82°)
OKLaboklab(53.13% 0.1208 -0.1692)
OKLCHoklch(53.13% 0.208 305.5)
XYZxyz(22.6903, 12.9580, 56.5528)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3DC9 #7CC93D
analogous
#443DC9 #8A3DC9 #C93DC2
triadic
#8A3DC9 #C98A3D #3DC98A
tetradic
#8A3DC9 #C9443D #7CC93D #3DC2C9
square
#8A3DC9 #C9443D #7CC93D #3DC2C9
split-complementary
#8A3DC9 #C2C93D #3DC944
monochromatic
#4A1E6D #6A2C9D #8A3DC9 #A76DD6 #C49DE4

Accessibility & contrast

On white

5.85
#8A3DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8A3DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3DC9
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3DC9#FFFFFF#000000##FFFFFF
##8A3DC91.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#0165C6
Tritanopia (blue-blind)
#7F5D7F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a3dc9;
/* rgb */ color: rgb(138, 61, 201);
/* oklch */ color: oklch(53.1% 0.208 305.5);
Tailwind
colors: {
  custom: {
    50: '#b179da',
    500: '#8a3dc9',
    950: '#000000',
  },
}
SCSS
$custom: #8a3dc9;
$custom-light: #b179da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3dc9",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 201
  },
  "hsl": {
    "h": 273,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53133,
    "c": 0.20788,
    "h": 305.5
  },
  "luminance": 0.12958
}

Semantic roles & 50–950 ramp

primary
#8A3DC9
secondary
#AED092
accent
#E0488C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A3DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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