#8D2ACA#8D2ACA

#8D2ACA is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.7% C 0.230 H 308.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8D2ACA
RGBrgb(141, 42, 202)
HSLhsl(277, 66%, 48%)
HSVhsv(277, 79%, 79%)
CMYKcmyk(30.2%, 79.2%, 0%, 20.8%)
CIE-LABlab(40.55, 65.44, -63.62)
CIE-LCHlch(40.55, 91.26, 315.81°)
OKLaboklab(51.72% 0.1418 -0.1809)
OKLCHoklch(51.72% 0.23 308.1)
XYZxyz(22.4709, 11.5833, 56.9177)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2ACA #67CA2A
analogous
#3D2ACA #8D2ACA #CA2AB7
triadic
#8D2ACA #CA8D2A #2ACA8D
tetradic
#8D2ACA #CA3D2A #67CA2A #2AB7CA
square
#8D2ACA #CA3D2A #67CA2A #2AB7CA
split-complementary
#8D2ACA #B7CA2A #2ACA3D
monochromatic
#461565 #6A1F97 #8D2ACA #A955DC #C288E6

Accessibility & contrast

On white

6.33
#8D2ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8D2ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2ACA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2ACA#FFFFFF#000000##FFFFFF
##8D2ACA1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#83547B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d2aca;
/* rgb */ color: rgb(141, 42, 202);
/* oklch */ color: oklch(51.7% 0.230 308.1);
Tailwind
colors: {
  custom: {
    50: '#b470db',
    500: '#8d2aca',
    950: '#000000',
  },
}
SCSS
$custom: #8d2aca;
$custom-light: #b470db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2aca",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 202
  },
  "hsl": {
    "h": 277.125,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51721,
    "c": 0.22982,
    "h": 308.1
  },
  "luminance": 0.11583
}

Semantic roles & 50–950 ramp

primary
#8D2ACA
secondary
#9ED080
accent
#E93F80
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8D2ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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