#8F4ADC#8F4ADC

#8F4ADC is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.213 H 301.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8F4ADC
RGBrgb(143, 74, 220)
HSLhsl(268, 68%, 58%)
HSVhsv(268, 66%, 86%)
CMYKcmyk(35%, 66.4%, 0%, 13.7%)
CIE-LABlab(46.85, 56.53, -63.73)
CIE-LCHlch(46.85, 85.18, 311.57°)
OKLaboklab(56.66% 0.1115 -0.1813)
OKLCHoklch(56.66% 0.213 301.6)
XYZxyz(26.6917, 15.9044, 69.3599)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4ADC #97DC4A
analogous
#4A4EDC #8F4ADC #D84ADC
triadic
#8F4ADC #DC8F4A #4ADC8F
tetradic
#8F4ADC #DC4A4E #97DC4A #4ADCD8
square
#8F4ADC #DC4A4E #97DC4A #4ADCD8
split-complementary
#8F4ADC #DCD84A #4EDC4A
monochromatic
#531C90 #7026C3 #8F4ADC #AF7DE6 #CEB1F0

Accessibility & contrast

On white

5.02
#8F4ADC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8F4ADC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4ADC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4ADC#FFFFFF#000000##FFFFFF
##8F4ADC1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#7F6B8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f4adc;
/* rgb */ color: rgb(143, 74, 220);
/* oklch */ color: oklch(56.7% 0.213 301.6);
Tailwind
colors: {
  custom: {
    50: '#b581e8',
    500: '#8f4adc',
    950: '#000000',
  },
}
SCSS
$custom: #8f4adc;
$custom-light: #b581e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4adc",
  "rgb": {
    "r": 143,
    "g": 74,
    "b": 220
  },
  "hsl": {
    "h": 268.356,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56656,
    "c": 0.21283,
    "h": 301.6
  },
  "luminance": 0.15905
}

Semantic roles & 50–950 ramp

primary
#8F4ADC
secondary
#C3DEA4
accent
#EA3D99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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