#8F2AC7#8F2AC7

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

Color values

HEX#8F2AC7
RGBrgb(143, 42, 199)
HSLhsl(279, 65%, 47%)
HSVhsv(279, 79%, 78%)
CMYKcmyk(28.1%, 78.9%, 0%, 22%)
CIE-LABlab(40.60, 65.14, -61.76)
CIE-LCHlch(40.60, 89.77, 316.53°)
OKLaboklab(51.75% 0.1452 -0.1753)
OKLCHoklch(51.75% 0.228 309.6)
XYZxyz(22.4624, 11.6196, 55.0813)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2AC7 #62C72A
analogous
#412AC7 #8F2AC7 #C72AB0
triadic
#8F2AC7 #C78F2A #2AC78F
tetradic
#8F2AC7 #C7412A #62C72A #2AB0C7
square
#8F2AC7 #C7412A #62C72A #2AB0C7
split-complementary
#8F2AC7 #B0C72A #2AC741
monochromatic
#461562 #6B1F94 #8F2AC7 #AB53DB #C386E5

Accessibility & contrast

On white

6.32
#8F2AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F2AC7
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2AC7#FFFFFF#000000##FFFFFF
##8F2AC71.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#875279
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f2ac7;
/* rgb */ color: rgb(143, 42, 199);
/* oklch */ color: oklch(51.7% 0.228 309.6);
Tailwind
colors: {
  custom: {
    50: '#b570d9',
    500: '#8f2ac7',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ac7;
$custom-light: #b570d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ac7",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 199
  },
  "hsl": {
    "h": 278.599,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5175,
    "c": 0.22764,
    "h": 309.6
  },
  "luminance": 0.11619
}

Semantic roles & 50–950 ramp

primary
#8F2AC7
secondary
#9BCF7E
accent
#E8407C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8F2AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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