#8A2AC1#8A2AC1

#8A2AC1 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.6% C 0.221 H 309.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8A2AC1
RGBrgb(138, 42, 193)
HSLhsl(278, 64%, 46%)
HSVhsv(278, 78%, 76%)
CMYKcmyk(28.5%, 78.2%, 0%, 24.3%)
CIE-LABlab(39.43, 63.03, -60.21)
CIE-LCHlch(39.43, 87.17, 316.31°)
OKLaboklab(50.64% 0.1399 -0.1709)
OKLCHoklch(50.64% 0.221 309.3)
XYZxyz(20.9329, 10.9099, 51.4448)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2AC1 #61C12A
analogous
#3F2AC1 #8A2AC1 #C12AAC
triadic
#8A2AC1 #C18A2A #2AC18A
tetradic
#8A2AC1 #C13F2A #61C12A #2AACC1
square
#8A2AC1 #C13F2A #61C12A #2AACC1
split-complementary
#8A2AC1 #ACC12A #2AC13F
monochromatic
#42145C #661F8F #8A2AC1 #A74FD9 #C082E4

Accessibility & contrast

On white

6.60
#8A2AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8A2AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A2AC1
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2AC1#FFFFFF#000000##FFFFFF
##8A2AC11.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#825075
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a2ac1;
/* rgb */ color: rgb(138, 42, 193);
/* oklch */ color: oklch(50.6% 0.221 309.3);
Tailwind
colors: {
  custom: {
    50: '#b16fd5',
    500: '#8a2ac1',
    950: '#000000',
  },
}
SCSS
$custom: #8a2ac1;
$custom-light: #b16fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2ac1",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 278.146,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50635,
    "c": 0.22086,
    "h": 309.3
  },
  "luminance": 0.10909
}

Semantic roles & 50–950 ramp

primary
#8A2AC1
secondary
#98CD7A
accent
#E7417D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8A2AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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