#8A3CCD#8A3CCD

#8A3CCD is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.3% C 0.213 H 304.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8A3CCD
RGBrgb(138, 60, 205)
HSLhsl(272, 59%, 52%)
HSVhsv(272, 71%, 80%)
CMYKcmyk(32.7%, 70.7%, 0%, 19.6%)
CIE-LABlab(42.83, 58.52, -61.67)
CIE-LCHlch(42.83, 85.02, 313.50°)
OKLaboklab(53.31% 0.1212 -0.1753)
OKLCHoklch(53.31% 0.213 304.7)
XYZxyz(23.1140, 13.0429, 59.0456)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3CCD #7FCD3C
analogous
#423CCD #8A3CCD #CD3CC8
triadic
#8A3CCD #CD8A3C #3CCD8A
tetradic
#8A3CCD #CD423C #7FCD3C #3CC8CD
square
#8A3CCD #CD423C #7FCD3C #3CC8CD
split-complementary
#8A3CCD #C8CD3C #3CCD42
monochromatic
#4B1D71 #6A2AA2 #8A3CCD #A76DD9 #C49DE6

Accessibility & contrast

On white

5.82
#8A3CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8A3CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3CCD
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3CCD#FFFFFF#000000##FFFFFF
##8A3CCD1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#7D5E81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a3ccd;
/* rgb */ color: rgb(138, 60, 205);
/* oklch */ color: oklch(53.3% 0.213 304.7);
Tailwind
colors: {
  custom: {
    50: '#b178dd',
    500: '#8a3ccd',
    950: '#000000',
  },
}
SCSS
$custom: #8a3ccd;
$custom-light: #b178dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3ccd",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 205
  },
  "hsl": {
    "h": 272.276,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53314,
    "c": 0.21317,
    "h": 304.7
  },
  "luminance": 0.13043
}

Semantic roles & 50–950 ramp

primary
#8A3CCD
secondary
#B0D293
accent
#E2458E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A3CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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