#8F3ACE#8F3ACE

#8F3ACE is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.8% C 0.218 H 306.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8F3ACE
RGBrgb(143, 58, 206)
HSLhsl(274, 60%, 52%)
HSVhsv(274, 72%, 81%)
CMYKcmyk(30.6%, 71.8%, 0%, 19.2%)
CIE-LABlab(43.24, 60.57, -61.54)
CIE-LCHlch(43.24, 86.35, 314.55°)
OKLaboklab(53.77% 0.1298 -0.1748)
OKLCHoklch(53.77% 0.218 306.6)
XYZxyz(23.9789, 13.3222, 59.6888)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3ACE #79CE3A
analogous
#453ACE #8F3ACE #CE3AC3
triadic
#8F3ACE #CE8F3A #3ACE8F
tetradic
#8F3ACE #CE453A #79CE3A #3AC3CE
square
#8F3ACE #CE453A #79CE3A #3AC3CE
split-complementary
#8F3ACE #C3CE3A #3ACE45
monochromatic
#4D1C71 #6E28A2 #8F3ACE #AB6BDA #C79CE6

Accessibility & contrast

On white

5.73
#8F3ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8F3ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3ACE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3ACE#FFFFFF#000000##FFFFFF
##8F3ACE1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#845D81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f3ace;
/* rgb */ color: rgb(143, 58, 206);
/* oklch */ color: oklch(53.8% 0.218 306.6);
Tailwind
colors: {
  custom: {
    50: '#b578de',
    500: '#8f3ace',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ace;
$custom-light: #b578de;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ace",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 206
  },
  "hsl": {
    "h": 274.459,
    "s": 60.163,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53772,
    "c": 0.21768,
    "h": 306.6
  },
  "luminance": 0.13322
}

Semantic roles & 50–950 ramp

primary
#8F3ACE
secondary
#ADD291
accent
#E34488
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F3ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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