#8F3AC2#8F3AC2

#8F3AC2 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.206 H 309.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8F3AC2
RGBrgb(143, 58, 194)
HSLhsl(278, 54%, 49%)
HSVhsv(278, 70%, 76%)
CMYKcmyk(26.3%, 70.1%, 0%, 23.9%)
CIE-LABlab(42.40, 57.92, -55.94)
CIE-LCHlch(42.40, 80.53, 316.00°)
OKLaboklab(52.91% 0.1315 -0.1583)
OKLCHoklch(52.91% 0.206 309.7)
XYZxyz(22.5764, 12.7612, 52.3023)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3AC2 #6DC23A
analogous
#4B3AC2 #8F3AC2 #C23AB1
triadic
#8F3AC2 #C28F3A #3AC28F
tetradic
#8F3AC2 #C24B3A #6DC23A #3AB1C2
square
#8F3AC2 #C24B3A #6DC23A #3AB1C2
split-complementary
#8F3AC2 #B1C23A #3AC24B
monochromatic
#4A1E64 #6C2C93 #8F3AC2 #AA67D2 #C497E0

Accessibility & contrast

On white

5.91
#8F3AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8F3AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3AC2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3AC2#FFFFFF#000000##FFFFFF
##8F3AC21.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#2065BF
Tritanopia (blue-blind)
#88587A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f3ac2;
/* rgb */ color: rgb(143, 58, 194);
/* oklch */ color: oklch(52.9% 0.206 309.7);
Tailwind
colors: {
  custom: {
    50: '#b477d5',
    500: '#8f3ac2',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ac2;
$custom-light: #b477d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ac2",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 277.5,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52906,
    "c": 0.20582,
    "h": 309.7
  },
  "luminance": 0.12761
}

Semantic roles & 50–950 ramp

primary
#8F3AC2
secondary
#A4CB8D
accent
#DD4A82
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F3AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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