#8A4FCA#8A4FCA

#8A4FCA is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.5% C 0.185 H 302.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8A4FCA
RGBrgb(138, 79, 202)
HSLhsl(269, 54%, 55%)
HSVhsv(269, 61%, 79%)
CMYKcmyk(31.7%, 60.9%, 0%, 20.8%)
CIE-LABlab(45.99, 48.56, -54.83)
CIE-LCHlch(45.99, 73.24, 311.53°)
OKLaboklab(55.52% 0.1006 -0.1553)
OKLCHoklch(55.52% 0.185 302.9)
XYZxyz(23.9354, 15.2595, 57.5501)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4FCA #8FCA4F
analogous
#4F52CA #8A4FCA #C74FCA
triadic
#8A4FCA #CA8A4F #4FCA8A
tetradic
#8A4FCA #CA4F52 #8FCA4F #4FCAC7
square
#8A4FCA #CA4F52 #8FCA4F #4FCAC7
split-complementary
#8A4FCA #CAC74F #52CA4F
monochromatic
#4E257A #6B33A9 #8A4FCA #A97ED8 #C9ADE6

Accessibility & contrast

On white

5.18
#8A4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8A4FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4FCA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4FCA#FFFFFF#000000##FFFFFF
##8A4FCA1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCE
Deuteranopia (green-blind)
#2D6DC7
Tritanopia (blue-blind)
#7E6985
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8a4fca;
/* rgb */ color: rgb(138, 79, 202);
/* oklch */ color: oklch(55.5% 0.185 302.9);
Tailwind
colors: {
  custom: {
    50: '#b083db',
    500: '#8a4fca',
    950: '#000000',
  },
}
SCSS
$custom: #8a4fca;
$custom-light: #b083db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4fca",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 268.78,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55522,
    "c": 0.18506,
    "h": 302.9
  },
  "luminance": 0.1526
}

Semantic roles & 50–950 ramp

primary
#8A4FCA
secondary
#BBD4A1
accent
#DD4B97
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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