#8B2ACA#8B2ACA

#8B2ACA is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.5% C 0.229 H 307.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8B2ACA
RGBrgb(139, 42, 202)
HSLhsl(276, 66%, 48%)
HSVhsv(276, 79%, 79%)
CMYKcmyk(31.2%, 79.2%, 0%, 20.8%)
CIE-LABlab(40.26, 65.11, -64.09)
CIE-LCHlch(40.26, 91.36, 315.45°)
OKLaboklab(51.46% 0.1391 -0.1823)
OKLCHoklch(51.46% 0.229 307.3)
XYZxyz(22.1338, 11.4095, 56.9019)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2ACA #69CA2A
analogous
#3B2ACA #8B2ACA #CA2AB9
triadic
#8B2ACA #CA8B2A #2ACA8B
tetradic
#8B2ACA #CA3B2A #69CA2A #2AB9CA
square
#8B2ACA #CA3B2A #69CA2A #2AB9CA
split-complementary
#8B2ACA #B9CA2A #2ACA3B
monochromatic
#451565 #681F97 #8B2ACA #A755DC #C188E6

Accessibility & contrast

On white

6.40
#8B2ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B2ACA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2ACA#FFFFFF#000000##FFFFFF
##8B2ACA1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#80547B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b2aca;
/* rgb */ color: rgb(139, 42, 202);
/* oklch */ color: oklch(51.5% 0.229 307.3);
Tailwind
colors: {
  custom: {
    50: '#b36fdb',
    500: '#8b2aca',
    950: '#000000',
  },
}
SCSS
$custom: #8b2aca;
$custom-light: #b36fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2aca",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 202
  },
  "hsl": {
    "h": 276.375,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51464,
    "c": 0.22933,
    "h": 307.3
  },
  "luminance": 0.11409
}

Semantic roles & 50–950 ramp

primary
#8B2ACA
secondary
#9FD080
accent
#E93F82
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8B2ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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