#8F2ACA#8F2ACA

#8F2ACA is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 52.0% C 0.230 H 308.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8F2ACA
RGBrgb(143, 42, 202)
HSLhsl(278, 66%, 48%)
HSVhsv(278, 79%, 79%)
CMYKcmyk(29.2%, 79.2%, 0%, 20.8%)
CIE-LABlab(40.83, 65.77, -63.14)
CIE-LCHlch(40.83, 91.17, 316.17°)
OKLaboklab(51.98% 0.1445 -0.1794)
OKLCHoklch(51.98% 0.23 308.8)
XYZxyz(22.8141, 11.7603, 56.9338)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2ACA #65CA2A
analogous
#3F2ACA #8F2ACA #CA2AB5
triadic
#8F2ACA #CA8F2A #2ACA8F
tetradic
#8F2ACA #CA3F2A #65CA2A #2AB5CA
square
#8F2ACA #CA3F2A #65CA2A #2AB5CA
split-complementary
#8F2ACA #B5CA2A #2ACA3F
monochromatic
#471565 #6B1F97 #8F2ACA #AA55DC #C488E6

Accessibility & contrast

On white

6.26
#8F2ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8F2ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2ACA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2ACA#FFFFFF#000000##FFFFFF
##8F2ACA1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#86537B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f2aca;
/* rgb */ color: rgb(143, 42, 202);
/* oklch */ color: oklch(52.0% 0.230 308.8);
Tailwind
colors: {
  custom: {
    50: '#b570db',
    500: '#8f2aca',
    950: '#000000',
  },
}
SCSS
$custom: #8f2aca;
$custom-light: #b570db;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2aca",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 202
  },
  "hsl": {
    "h": 277.875,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51981,
    "c": 0.23034,
    "h": 308.8
  },
  "luminance": 0.1176
}

Semantic roles & 50–950 ramp

primary
#8F2ACA
secondary
#9DD080
accent
#E93F7E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8F2ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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