#8F4AC2#8F4AC2

#8F4AC2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.9% C 0.185 H 307.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8F4AC2
RGBrgb(143, 74, 194)
HSLhsl(275, 50%, 53%)
HSVhsv(275, 62%, 76%)
CMYKcmyk(26.3%, 61.9%, 0%, 23.9%)
CIE-LABlab(45.13, 50.40, -51.55)
CIE-LCHlch(45.13, 72.09, 314.35°)
OKLaboklab(54.87% 0.1134 -0.1455)
OKLCHoklch(54.87% 0.185 307.9)
XYZxyz(23.5121, 14.6326, 52.6142)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4AC2 #7DC24A
analogous
#534AC2 #8F4AC2 #C24AB9
triadic
#8F4AC2 #C28F4A #4AC28F
tetradic
#8F4AC2 #C2534A #7DC24A #4AB9C2
square
#8F4AC2 #C2534A #7DC24A #4AB9C2
split-complementary
#8F4AC2 #B9C24A #4AC253
monochromatic
#4E256D #6F349B #8F4AC2 #AB78D1 #C8A6E1

Accessibility & contrast

On white

5.35
#8F4AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8F4AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4AC2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4AC2#FFFFFF#000000##FFFFFF
##8F4AC21.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B68C6
Deuteranopia (green-blind)
#366CBF
Tritanopia (blue-blind)
#87627F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f4ac2;
/* rgb */ color: rgb(143, 74, 194);
/* oklch */ color: oklch(54.9% 0.185 307.9);
Tailwind
colors: {
  custom: {
    50: '#b380d5',
    500: '#8f4ac2',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ac2;
$custom-light: #b380d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ac2",
  "rgb": {
    "r": 143,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 274.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54866,
    "c": 0.18453,
    "h": 307.9
  },
  "luminance": 0.14632
}

Semantic roles & 50–950 ramp

primary
#8F4AC2
secondary
#B0CE9A
accent
#D94F8A
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8F4AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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