#8A2CC0#8A2CC0

#8A2CC0 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.7% C 0.218 H 309.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8A2CC0
RGBrgb(138, 44, 192)
HSLhsl(278, 63%, 46%)
HSVhsv(278, 77%, 75%)
CMYKcmyk(28.1%, 77.1%, 0%, 24.7%)
CIE-LABlab(39.60, 62.11, -59.34)
CIE-LCHlch(39.60, 85.91, 316.31°)
OKLaboklab(50.73% 0.1384 -0.1684)
OKLCHoklch(50.73% 0.218 309.4)
XYZxyz(20.8944, 11.0108, 50.8835)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2CC0 #62C02C
analogous
#402CC0 #8A2CC0 #C02CAC
triadic
#8A2CC0 #C08A2C #2CC08A
tetradic
#8A2CC0 #C0402C #62C02C #2CACC0
square
#8A2CC0 #C0402C #62C02C #2CACC0
split-complementary
#8A2CC0 #ACC02C #2CC040
monochromatic
#42155C #66218E #8A2CC0 #A752D7 #C084E3

Accessibility & contrast

On white

6.56
#8A2CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8A2CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A2CC0
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2CC0#FFFFFF#000000##FFFFFF
##8A2CC01.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#825175
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a2cc0;
/* rgb */ color: rgb(138, 44, 192);
/* oklch */ color: oklch(50.7% 0.218 309.4);
Tailwind
colors: {
  custom: {
    50: '#b170d4',
    500: '#8a2cc0',
    950: '#000000',
  },
}
SCSS
$custom: #8a2cc0;
$custom-light: #b170d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2cc0",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 278.108,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50732,
    "c": 0.21801,
    "h": 309.4
  },
  "luminance": 0.1101
}

Semantic roles & 50–950 ramp

primary
#8A2CC0
secondary
#99CC7C
accent
#E6427E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8A2CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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