#8F4ACA#8F4ACA

#8F4ACA is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.4% C 0.193 H 305.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8F4ACA
RGBrgb(143, 74, 202)
HSLhsl(272, 55%, 54%)
HSVhsv(272, 63%, 79%)
CMYKcmyk(29.2%, 63.4%, 0%, 20.8%)
CIE-LABlab(45.64, 52.25, -55.36)
CIE-LCHlch(45.64, 76.13, 313.34°)
OKLaboklab(55.4% 0.1131 -0.1567)
OKLCHoklch(55.4% 0.193 305.8)
XYZxyz(24.4348, 15.0017, 57.4740)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4ACA #85CA4A
analogous
#4F4ACA #8F4ACA #CA4AC5
triadic
#8F4ACA #CA8F4A #4ACA8F
tetradic
#8F4ACA #CA4F4A #85CA4A #4AC5CA
square
#8F4ACA #CA4F4A #85CA4A #4AC5CA
split-complementary
#8F4ACA #C5CA4A #4ACA4F
monochromatic
#502377 #7031A6 #8F4ACA #AC79D8 #CAA9E6

Accessibility & contrast

On white

5.25
#8F4ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8F4ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4ACA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4ACA#FFFFFF#000000##FFFFFF
##8F4ACA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#2C6CC7
Tritanopia (blue-blind)
#856583
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f4aca;
/* rgb */ color: rgb(143, 74, 202);
/* oklch */ color: oklch(55.4% 0.193 305.8);
Tailwind
colors: {
  custom: {
    50: '#b480db',
    500: '#8f4aca',
    950: '#000000',
  },
}
SCSS
$custom: #8f4aca;
$custom-light: #b480db;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4aca",
  "rgb": {
    "r": 143,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 272.344,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55399,
    "c": 0.19326,
    "h": 305.8
  },
  "luminance": 0.15001
}

Semantic roles & 50–950 ramp

primary
#8F4ACA
secondary
#B6D39D
accent
#DE4A8E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8F4ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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