#8A3DC1#8A3DC1

#8A3DC1 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.6% C 0.200 H 307.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8A3DC1
RGBrgb(138, 61, 193)
HSLhsl(275, 52%, 50%)
HSVhsv(275, 68%, 76%)
CMYKcmyk(28.5%, 68.4%, 0%, 24.3%)
CIE-LABlab(42.14, 55.33, -55.81)
CIE-LCHlch(42.14, 78.59, 314.75°)
OKLaboklab(52.56% 0.1219 -0.1581)
OKLCHoklch(52.56% 0.2 307.6)
XYZxyz(21.7736, 12.5913, 51.7251)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3DC1 #74C13D
analogous
#483DC1 #8A3DC1 #C13DB6
triadic
#8A3DC1 #C18A3D #3DC18A
tetradic
#8A3DC1 #C1483D #74C13D #3DB6C1
square
#8A3DC1 #C1483D #74C13D #3DB6C1
split-complementary
#8A3DC1 #B6C13D #3DC148
monochromatic
#472064 #692E92 #8A3DC1 #A66BD0 #C299DF

Accessibility & contrast

On white

5.97
#8A3DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8A3DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3DC1
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3DC1#FFFFFF#000000##FFFFFF
##8A3DC11.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#1D64BE
Tritanopia (blue-blind)
#815A7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a3dc1;
/* rgb */ color: rgb(138, 61, 193);
/* oklch */ color: oklch(52.6% 0.200 307.6);
Tailwind
colors: {
  custom: {
    50: '#b178d4',
    500: '#8a3dc1',
    950: '#000000',
  },
}
SCSS
$custom: #8a3dc1;
$custom-light: #b178d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3dc1",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 193
  },
  "hsl": {
    "h": 275,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52557,
    "c": 0.19964,
    "h": 307.6
  },
  "luminance": 0.12591
}

Semantic roles & 50–950 ramp

primary
#8A3DC1
secondary
#A8CB8F
accent
#DB4C88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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