#8A3AC3#8A3AC3

#8A3AC3 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.4% C 0.205 H 307.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8A3AC3
RGBrgb(138, 58, 195)
HSLhsl(275, 54%, 50%)
HSVhsv(275, 70%, 76%)
CMYKcmyk(29.2%, 70.3%, 0%, 23.5%)
CIE-LABlab(41.80, 57.13, -57.53)
CIE-LCHlch(41.80, 81.08, 314.80°)
OKLaboklab(52.36% 0.1248 -0.1632)
OKLCHoklch(52.36% 0.205 307.4)
XYZxyz(21.8425, 12.3698, 52.8561)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3AC3 #73C33A
analogous
#453AC3 #8A3AC3 #C33AB8
triadic
#8A3AC3 #C38A3A #3AC38A
tetradic
#8A3AC3 #C3453A #73C33A #3AB8C3
square
#8A3AC3 #C3453A #73C33A #3AB8C3
split-complementary
#8A3AC3 #B8C33A #3AC345
monochromatic
#471E65 #692C94 #8A3AC3 #A668D2 #C297E0

Accessibility & contrast

On white

6.04
#8A3AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8A3AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3AC3
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3AC3#FFFFFF#000000##FFFFFF
##8A3AC31.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#1063C0
Tritanopia (blue-blind)
#81597A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a3ac3;
/* rgb */ color: rgb(138, 58, 195);
/* oklch */ color: oklch(52.4% 0.205 307.4);
Tailwind
colors: {
  custom: {
    50: '#b177d6',
    500: '#8a3ac3',
    950: '#000000',
  },
}
SCSS
$custom: #8a3ac3;
$custom-light: #b177d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3ac3",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 195
  },
  "hsl": {
    "h": 275.036,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52356,
    "c": 0.2054,
    "h": 307.4
  },
  "luminance": 0.1237
}

Semantic roles & 50–950 ramp

primary
#8A3AC3
secondary
#A7CC8D
accent
#DE4A88
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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