#8A2CC9#8A2CC9

#8A2CC9 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.4% C 0.226 H 307.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8A2CC9
RGBrgb(138, 44, 201)
HSLhsl(276, 64%, 48%)
HSVhsv(276, 78%, 79%)
CMYKcmyk(31.3%, 78.1%, 0%, 21.2%)
CIE-LABlab(40.28, 64.04, -63.48)
CIE-LCHlch(40.28, 90.17, 315.25°)
OKLaboklab(51.43% 0.1364 -0.1806)
OKLCHoklch(51.43% 0.226 307.1)
XYZxyz(21.9223, 11.4220, 56.2968)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2CC9 #6BC92C
analogous
#3C2CC9 #8A2CC9 #C92CB9
triadic
#8A2CC9 #C98A2C #2CC98A
tetradic
#8A2CC9 #C93C2C #6BC92C #2CB9C9
square
#8A2CC9 #C93C2C #6BC92C #2CB9C9
split-complementary
#8A2CC9 #B9C92C #2CC93C
monochromatic
#451665 #682197 #8A2CC9 #A658DA #C18AE5

Accessibility & contrast

On white

6.39
#8A2CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8A2CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A2CC9
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2CC9#FFFFFF#000000##FFFFFF
##8A2CC91.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#7F547A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a2cc9;
/* rgb */ color: rgb(138, 44, 201);
/* oklch */ color: oklch(51.4% 0.226 307.1);
Tailwind
colors: {
  custom: {
    50: '#b270da',
    500: '#8a2cc9',
    950: '#000000',
  },
}
SCSS
$custom: #8a2cc9;
$custom-light: #b270da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2cc9",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 275.924,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51425,
    "c": 0.22633,
    "h": 307.1
  },
  "luminance": 0.11422
}

Semantic roles & 50–950 ramp

primary
#8A2CC9
secondary
#A1CF82
accent
#E74183
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8A2CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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