#8A4ACF#8A4ACF

#8A4ACF is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.2% C 0.198 H 302.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A4ACF
RGBrgb(138, 74, 207)
HSLhsl(269, 58%, 55%)
HSVhsv(269, 64%, 81%)
CMYKcmyk(33.3%, 64.3%, 0%, 18.8%)
CIE-LABlab(45.37, 52.35, -58.71)
CIE-LCHlch(45.37, 78.66, 311.72°)
OKLaboklab(55.18% 0.1061 -0.1667)
OKLCHoklch(55.18% 0.198 302.5)
XYZxyz(24.1899, 14.8058, 60.6028)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4ACF #8FCF4A
analogous
#4A4CCF #8A4ACF #CC4ACF
triadic
#8A4ACF #CF8A4A #4ACF8A
tetradic
#8A4ACF #CF4A4C #8FCF4A #4ACFCC
square
#8A4ACF #CF4A4C #8FCF4A #4ACFCC
split-complementary
#8A4ACF #CFCC4A #4CCF4A
monochromatic
#4E217D #6B2EAE #8A4ACF #A97ADC #C9ABE9

Accessibility & contrast

On white

5.30
#8A4ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8A4ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4ACF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4ACF#FFFFFF#000000##FFFFFF
##8A4ACF1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#1A6BCC
Tritanopia (blue-blind)
#7C6786
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a4acf;
/* rgb */ color: rgb(138, 74, 207);
/* oklch */ color: oklch(55.2% 0.198 302.5);
Tailwind
colors: {
  custom: {
    50: '#b180de',
    500: '#8a4acf',
    950: '#000000',
  },
}
SCSS
$custom: #8a4acf;
$custom-light: #b180de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4acf",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 207
  },
  "hsl": {
    "h": 268.872,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55177,
    "c": 0.19762,
    "h": 302.5
  },
  "luminance": 0.14806
}

Semantic roles & 50–950 ramp

primary
#8A4ACF
secondary
#BBD69F
accent
#E14697
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A4ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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