#8F3AC3#8F3AC3

#8F3AC3 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.0% C 0.207 H 309.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8F3AC3
RGBrgb(143, 58, 195)
HSLhsl(277, 54%, 50%)
HSVhsv(277, 70%, 76%)
CMYKcmyk(26.7%, 70.3%, 0%, 23.5%)
CIE-LABlab(42.47, 58.14, -56.41)
CIE-LCHlch(42.47, 81.01, 315.86°)
OKLaboklab(52.98% 0.1314 -0.1597)
OKLCHoklch(52.98% 0.207 309.4)
XYZxyz(22.6891, 12.8063, 52.8958)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3AC3 #6EC33A
analogous
#4A3AC3 #8F3AC3 #C33AB3
triadic
#8F3AC3 #C38F3A #3AC38F
tetradic
#8F3AC3 #C34A3A #6EC33A #3AB3C3
square
#8F3AC3 #C34A3A #6EC33A #3AB3C3
split-complementary
#8F3AC3 #B3C33A #3AC34A
monochromatic
#4A1E65 #6C2C94 #8F3AC3 #AA68D2 #C497E0

Accessibility & contrast

On white

5.90
#8F3AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8F3AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3AC3
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3AC3#FFFFFF#000000##FFFFFF
##8F3AC31.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#1E65C0
Tritanopia (blue-blind)
#87587B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8f3ac3;
/* rgb */ color: rgb(143, 58, 195);
/* oklch */ color: oklch(53.0% 0.207 309.4);
Tailwind
colors: {
  custom: {
    50: '#b477d6',
    500: '#8f3ac3',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ac3;
$custom-light: #b477d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ac3",
  "rgb": {
    "r": 143,
    "g": 58,
    "b": 195
  },
  "hsl": {
    "h": 277.226,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52977,
    "c": 0.20681,
    "h": 309.4
  },
  "luminance": 0.12806
}

Semantic roles & 50–950 ramp

primary
#8F3AC3
secondary
#A5CC8D
accent
#DE4A82
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F3AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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