#8A4FC9#8A4FC9

#8A4FC9 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.5% C 0.184 H 303.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8A4FC9
RGBrgb(138, 79, 201)
HSLhsl(269, 53%, 55%)
HSVhsv(269, 61%, 79%)
CMYKcmyk(31.3%, 60.7%, 0%, 21.2%)
CIE-LABlab(45.92, 48.31, -54.36)
CIE-LCHlch(45.92, 72.72, 311.63°)
OKLaboklab(55.46% 0.1006 -0.1539)
OKLCHoklch(55.46% 0.184 303.2)
XYZxyz(23.8174, 15.2123, 56.9285)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FC9 #8EC94F
analogous
#4F51C9 #8A4FC9 #C74FC9
triadic
#8A4FC9 #C98A4F #4FC98A
tetradic
#8A4FC9 #C94F51 #8EC94F #4FC9C7
square
#8A4FC9 #C94F51 #8EC94F #4FC9C7
split-complementary
#8A4FC9 #C9C74F #51C94F
monochromatic
#4D2579 #6B33A7 #8A4FC9 #A97ED7 #C8ADE6

Accessibility & contrast

On white

5.19
#8A4FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8A4FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FC9
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FC9#FFFFFF#000000##FFFFFF
##8A4FC91.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#046CCD
Deuteranopia (green-blind)
#2E6DC6
Tritanopia (blue-blind)
#7E6885
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a4fc9;
/* rgb */ color: rgb(138, 79, 201);
/* oklch */ color: oklch(55.5% 0.184 303.2);
Tailwind
colors: {
  custom: {
    50: '#b083da',
    500: '#8a4fc9',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fc9;
$custom-light: #b083da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fc9",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 201
  },
  "hsl": {
    "h": 269.016,
    "s": 53.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55455,
    "c": 0.18391,
    "h": 303.2
  },
  "luminance": 0.15212
}

Semantic roles & 50–950 ramp

primary
#8A4FC9
secondary
#BBD4A0
accent
#DC4B96
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A4FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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