#8A4CCB#8A4CCB

#8A4CCB is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.2% C 0.190 H 303.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8A4CCB
RGBrgb(138, 76, 203)
HSLhsl(269, 55%, 55%)
HSVhsv(269, 63%, 80%)
CMYKcmyk(32%, 62.6%, 0%, 20.4%)
CIE-LABlab(45.47, 50.36, -56.23)
CIE-LCHlch(45.47, 75.49, 311.85°)
OKLaboklab(55.17% 0.1041 -0.1594)
OKLCHoklch(55.17% 0.19 303.1)
XYZxyz(23.8427, 14.8840, 58.1051)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4CCB #8DCB4C
analogous
#4C4ECB #8A4CCB #C94CCB
triadic
#8A4CCB #CB8A4C #4CCB8A
tetradic
#8A4CCB #CB4C4E #8DCB4C #4CCBC9
square
#8A4CCB #CB4C4E #8DCB4C #4CCBC9
split-complementary
#8A4CCB #CBC94C #4ECB4C
monochromatic
#4D2379 #6B31A9 #8A4CCB #A97BD9 #C8ABE7

Accessibility & contrast

On white

5.28
#8A4CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8A4CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4CCB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4CCB#FFFFFF#000000##FFFFFF
##8A4CCB1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#266BC8
Tritanopia (blue-blind)
#7D6785
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a4ccb;
/* rgb */ color: rgb(138, 76, 203);
/* oklch */ color: oklch(55.2% 0.190 303.1);
Tailwind
colors: {
  custom: {
    50: '#b081dc',
    500: '#8a4ccb',
    950: '#000000',
  },
}
SCSS
$custom: #8a4ccb;
$custom-light: #b081dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4ccb",
  "rgb": {
    "r": 138,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 269.291,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5517,
    "c": 0.19042,
    "h": 303.1
  },
  "luminance": 0.14884
}

Semantic roles & 50–950 ramp

primary
#8A4CCB
secondary
#BAD49F
accent
#DE4996
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8A4CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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