#8A4FC8#8A4FC8

#8A4FC8 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.4% C 0.183 H 303.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8A4FC8
RGBrgb(138, 79, 200)
HSLhsl(269, 52%, 55%)
HSVhsv(269, 61%, 78%)
CMYKcmyk(31%, 60.5%, 0%, 21.6%)
CIE-LABlab(45.86, 48.07, -53.88)
CIE-LCHlch(45.86, 72.21, 311.74°)
OKLaboklab(55.39% 0.1007 -0.1525)
OKLCHoklch(55.39% 0.183 303.4)
XYZxyz(23.7002, 15.1654, 56.3110)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FC8 #8DC84F
analogous
#4F51C8 #8A4FC8 #C64FC8
triadic
#8A4FC8 #C88A4F #4FC88A
tetradic
#8A4FC8 #C84F51 #8DC84F #4FC8C6
square
#8A4FC8 #C84F51 #8DC84F #4FC8C6
split-complementary
#8A4FC8 #C8C64F #51C84F
monochromatic
#4D2577 #6B34A6 #8A4FC8 #A97ED7 #C8ACE5

Accessibility & contrast

On white

5.21
#8A4FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8A4FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FC8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FC8#FFFFFF#000000##FFFFFF
##8A4FC81.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#096BCC
Deuteranopia (green-blind)
#2F6CC5
Tritanopia (blue-blind)
#7E6884
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a4fc8;
/* rgb */ color: rgb(138, 79, 200);
/* oklch */ color: oklch(55.4% 0.183 303.4);
Tailwind
colors: {
  custom: {
    50: '#b083d9',
    500: '#8a4fc8',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fc8;
$custom-light: #b083d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fc8",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 269.256,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55388,
    "c": 0.18276,
    "h": 303.4
  },
  "luminance": 0.15165
}

Semantic roles & 50–950 ramp

primary
#8A4FC8
secondary
#BAD3A0
accent
#DC4C96
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A4FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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