#8A4FBF#8A4FBF

#8A4FBF is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.172 H 305.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8A4FBF
RGBrgb(138, 79, 191)
HSLhsl(272, 47%, 53%)
HSVhsv(272, 59%, 75%)
CMYKcmyk(27.7%, 58.6%, 0%, 25.1%)
CIE-LABlab(45.30, 45.90, -49.57)
CIE-LCHlch(45.30, 67.55, 312.80°)
OKLaboklab(54.8% 0.1008 -0.1399)
OKLCHoklch(54.8% 0.172 305.8)
XYZxyz(22.6792, 14.7570, 50.9337)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FBF #84BF4F
analogous
#524FBF #8A4FBF #BF4FBC
triadic
#8A4FBF #BF8A4F #4FBF8A
tetradic
#8A4FBF #BF524F #84BF4F #4FBCBF
square
#8A4FBF #BF524F #84BF4F #4FBCBF
split-complementary
#8A4FBF #BCBF4F #4FBF52
monochromatic
#4C276C #6B3899 #8A4FBF #A87CCF #C6A9E0

Accessibility & contrast

On white

5.31
#8A4FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8A4FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FBF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FBF#FFFFFF#000000##FFFFFF
##8A4FBF1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2069C3
Deuteranopia (green-blind)
#3A6BBC
Tritanopia (blue-blind)
#81657F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a4fbf;
/* rgb */ color: rgb(138, 79, 191);
/* oklch */ color: oklch(54.8% 0.172 305.8);
Tailwind
colors: {
  custom: {
    50: '#af83d3',
    500: '#8a4fbf',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fbf;
$custom-light: #af83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fbf",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 271.607,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.548,
    "c": 0.17241,
    "h": 305.8
  },
  "luminance": 0.14757
}

Semantic roles & 50–950 ramp

primary
#8A4FBF
secondary
#B4CD9D
accent
#D65190
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8A4FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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