#8A4FAF#8A4FAF

#8A4FAF is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.8% C 0.154 H 310.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8A4FAF
RGBrgb(138, 79, 175)
HSLhsl(277, 38%, 50%)
HSVhsv(277, 55%, 69%)
CMYKcmyk(21.1%, 54.9%, 0%, 31.4%)
CIE-LABlab(44.36, 42.15, -41.70)
CIE-LCHlch(44.36, 59.29, 315.31°)
OKLaboklab(53.81% 0.1002 -0.1169)
OKLCHoklch(53.81% 0.154 310.6)
XYZxyz(21.0136, 14.0908, 42.1619)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FAF #74AF4F
analogous
#5A4FAF #8A4FAF #AF4FA4
triadic
#8A4FAF #AF8A4F #4FAF8A
tetradic
#8A4FAF #AF5A4F #74AF4F #4FA4AF
square
#8A4FAF #AF5A4F #74AF4F #4FA4AF
split-complementary
#8A4FAF #A4AF4F #4FAF5A
monochromatic
#47295B #693C85 #8A4FAF #A679C2 #C2A3D5

Accessibility & contrast

On white

5.50
#8A4FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8A4FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FAF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FAF#FFFFFF#000000##FFFFFF
##8A4FAF1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#476AAD
Tritanopia (blue-blind)
#856077
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a4faf;
/* rgb */ color: rgb(138, 79, 175);
/* oklch */ color: oklch(53.8% 0.154 310.6);
Tailwind
colors: {
  custom: {
    50: '#af83c7',
    500: '#8a4faf',
    950: '#000000',
  },
}
SCSS
$custom: #8a4faf;
$custom-light: #af83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4faf",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 276.875,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5381,
    "c": 0.15397,
    "h": 310.6
  },
  "luminance": 0.1409
}

Semantic roles & 50–950 ramp

primary
#8A4FAF
secondary
#A8C397
accent
#CE5A87
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8A4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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