#8A3ACF#8A3ACF

#8A3ACF is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.218 H 304.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8A3ACF
RGBrgb(138, 58, 207)
HSLhsl(272, 61%, 52%)
HSVhsv(272, 72%, 81%)
CMYKcmyk(33.3%, 72%, 0%, 18.8%)
CIE-LABlab(42.66, 59.86, -63.09)
CIE-LCHlch(42.66, 86.97, 313.50°)
OKLaboklab(53.24% 0.1228 -0.1795)
OKLCHoklch(53.24% 0.218 304.4)
XYZxyz(23.2542, 12.9345, 60.2909)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3ACF #7FCF3A
analogous
#403ACF #8A3ACF #CF3AC9
triadic
#8A3ACF #CF8A3A #3ACF8A
tetradic
#8A3ACF #CF403A #7FCF3A #3AC9CF
square
#8A3ACF #CF403A #7FCF3A #3AC9CF
split-complementary
#8A3ACF #C9CF3A #3ACF40
monochromatic
#4B1C73 #6A28A4 #8A3ACF #A76BDB #C49CE7

Accessibility & contrast

On white

5.85
#8A3ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8A3ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3ACF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3ACF#FFFFFF#000000##FFFFFF
##8A3ACF1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#7D5E81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a3acf;
/* rgb */ color: rgb(138, 58, 207);
/* oklch */ color: oklch(53.2% 0.218 304.4);
Tailwind
colors: {
  custom: {
    50: '#b277df',
    500: '#8a3acf',
    950: '#000000',
  },
}
SCSS
$custom: #8a3acf;
$custom-light: #b277df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3acf",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 207
  },
  "hsl": {
    "h": 272.215,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53244,
    "c": 0.21751,
    "h": 304.4
  },
  "luminance": 0.12934
}

Semantic roles & 50–950 ramp

primary
#8A3ACF
secondary
#B0D392
accent
#E4448E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A3ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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