#8A4FCC#8A4FCC

#8A4FCC is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.7% C 0.187 H 302.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8A4FCC
RGBrgb(138, 79, 204)
HSLhsl(268, 55%, 55%)
HSVhsv(268, 61%, 80%)
CMYKcmyk(32.4%, 61.3%, 0%, 20%)
CIE-LABlab(46.12, 49.05, -55.78)
CIE-LCHlch(46.12, 74.27, 311.33°)
OKLaboklab(55.66% 0.1005 -0.1581)
OKLCHoklch(55.66% 0.187 302.4)
XYZxyz(24.1738, 15.3548, 58.8053)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FCC #91CC4F
analogous
#4F52CC #8A4FCC #C84FCC
triadic
#8A4FCC #CC8A4F #4FCC8A
tetradic
#8A4FCC #CC4F52 #91CC4F #4FCCC8
square
#8A4FCC #CC4F52 #91CC4F #4FCCC8
split-complementary
#8A4FCC #CCC84F #52CC4F
monochromatic
#4E247D #6B32AC #8A4FCC #AA7EDA #C9AEE7

Accessibility & contrast

On white

5.16
#8A4FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8A4FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FCC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FCC#FFFFFF#000000##FFFFFF
##8A4FCC1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#2A6DC9
Tritanopia (blue-blind)
#7D6986
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a4fcc;
/* rgb */ color: rgb(138, 79, 204);
/* oklch */ color: oklch(55.7% 0.187 302.4);
Tailwind
colors: {
  custom: {
    50: '#b083dc',
    500: '#8a4fcc',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fcc;
$custom-light: #b083dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fcc",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 268.32,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55656,
    "c": 0.18735,
    "h": 302.4
  },
  "luminance": 0.15355
}

Semantic roles & 50–950 ramp

primary
#8A4FCC
secondary
#BDD5A1
accent
#DE4998
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A4FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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