#8A3DC3#8A3DC3

#8A3DC3 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.7% C 0.202 H 307.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8A3DC3
RGBrgb(138, 61, 195)
HSLhsl(274, 53%, 50%)
HSVhsv(274, 69%, 76%)
CMYKcmyk(29.2%, 68.7%, 0%, 23.5%)
CIE-LABlab(42.28, 55.78, -56.75)
CIE-LCHlch(42.28, 79.58, 314.51°)
OKLaboklab(52.7% 0.1216 -0.1609)
OKLCHoklch(52.7% 0.202 307.1)
XYZxyz(21.9982, 12.6812, 52.9080)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3DC3 #76C33D
analogous
#473DC3 #8A3DC3 #C33DB9
triadic
#8A3DC3 #C38A3D #3DC38A
tetradic
#8A3DC3 #C3473D #76C33D #3DB9C3
square
#8A3DC3 #C3473D #76C33D #3DB9C3
split-complementary
#8A3DC3 #B9C33D #3DC347
monochromatic
#482066 #692E95 #8A3DC3 #A66CD1 #C29AE0

Accessibility & contrast

On white

5.94
#8A3DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8A3DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3DC3
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3DC3#FFFFFF#000000##FFFFFF
##8A3DC31.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#1864C0
Tritanopia (blue-blind)
#815B7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a3dc3;
/* rgb */ color: rgb(138, 61, 195);
/* oklch */ color: oklch(52.7% 0.202 307.1);
Tailwind
colors: {
  custom: {
    50: '#b178d6',
    500: '#8a3dc3',
    950: '#000000',
  },
}
SCSS
$custom: #8a3dc3;
$custom-light: #b178d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3dc3",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 195
  },
  "hsl": {
    "h": 274.478,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52699,
    "c": 0.2017,
    "h": 307.1
  },
  "luminance": 0.12681
}

Semantic roles & 50–950 ramp

primary
#8A3DC3
secondary
#A9CC90
accent
#DC4C89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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