#8F3ACC#8F3ACC

#8F3ACC is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.216 H 307.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8F3ACC
RGBrgb(143, 58, 204)
HSLhsl(275, 59%, 51%)
HSVhsv(275, 72%, 80%)
CMYKcmyk(29.9%, 71.6%, 0%, 20%)
CIE-LABlab(43.10, 60.13, -60.62)
CIE-LCHlch(43.10, 85.38, 314.77°)
OKLaboklab(53.63% 0.1301 -0.1721)
OKLCHoklch(53.63% 0.216 307.1)
XYZxyz(23.7375, 13.2257, 58.4173)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3ACC #77CC3A
analogous
#463ACC #8F3ACC #CC3AC0
triadic
#8F3ACC #CC8F3A #3ACC8F
tetradic
#8F3ACC #CC463A #77CC3A #3AC0CC
square
#8F3ACC #CC463A #77CC3A #3AC0CC
split-complementary
#8F3ACC #C0CC3A #3ACC46
monochromatic
#4D1D6F #6E29A0 #8F3ACC #AB6BD9 #C69BE5

Accessibility & contrast

On white

5.76
#8F3ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8F3ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3ACC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3ACC#FFFFFF#000000##FFFFFF
##8F3ACC1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#855C80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f3acc;
/* rgb */ color: rgb(143, 58, 204);
/* oklch */ color: oklch(53.6% 0.216 307.1);
Tailwind
colors: {
  custom: {
    50: '#b578dc',
    500: '#8f3acc',
    950: '#000000',
  },
}
SCSS
$custom: #8f3acc;
$custom-light: #b578dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3acc",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 274.932,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53625,
    "c": 0.2157,
    "h": 307.1
  },
  "luminance": 0.13225
}

Semantic roles & 50–950 ramp

primary
#8F3ACC
secondary
#ACD191
accent
#E24687
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F3ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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