#8A4FBC#8A4FBC

#8A4FBC is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.6% C 0.169 H 306.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8A4FBC
RGBrgb(138, 79, 188)
HSLhsl(272, 45%, 52%)
HSVhsv(272, 58%, 74%)
CMYKcmyk(26.6%, 58%, 0%, 26.3%)
CIE-LABlab(45.12, 45.19, -48.11)
CIE-LCHlch(45.12, 66.00, 313.20°)
OKLaboklab(54.61% 0.1008 -0.1356)
OKLCHoklch(54.61% 0.169 306.6)
XYZxyz(22.3524, 14.6263, 49.2128)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FBC #81BC4F
analogous
#544FBC #8A4FBC #BC4FB8
triadic
#8A4FBC #BC8A4F #4FBC8A
tetradic
#8A4FBC #BC544F #81BC4F #4FB8BC
square
#8A4FBC #BC544F #81BC4F #4FB8BC
split-complementary
#8A4FBC #B8BC4F #4FBC54
monochromatic
#4B2869 #6B3995 #8A4FBC #A77BCD #C5A8DE

Accessibility & contrast

On white

5.35
#8A4FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8A4FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FBC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FBC#FFFFFF#000000##FFFFFF
##8A4FBC1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2469C0
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#82647E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a4fbc;
/* rgb */ color: rgb(138, 79, 188);
/* oklch */ color: oklch(54.6% 0.169 306.6);
Tailwind
colors: {
  custom: {
    50: '#af83d1',
    500: '#8a4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fbc;
$custom-light: #af83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fbc",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 272.477,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.16895,
    "h": 306.6
  },
  "luminance": 0.14626
}

Semantic roles & 50–950 ramp

primary
#8A4FBC
secondary
#B1CB9C
accent
#D5538F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8A4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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