#8A63AA#8A63AA

#8A63AA is a mid, moderate violet. Relative luminance 0.172; OKLCH L 56.8% C 0.114 H 308.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8A63AA
RGBrgb(138, 99, 170)
HSLhsl(273, 29%, 53%)
HSVhsv(273, 42%, 67%)
CMYKcmyk(18.8%, 41.8%, 0%, 33.3%)
CIE-LABlab(48.55, 29.69, -32.16)
CIE-LCHlch(48.55, 43.77, 312.71°)
OKLaboklab(56.84% 0.0709 -0.0893)
OKLCHoklch(56.84% 0.114 308.4)
XYZxyz(22.1974, 17.2295, 40.1787)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63AA #83AA63
analogous
#6663AA #8A63AA #AA63A6
triadic
#8A63AA #AA8A63 #63AA8A
tetradic
#8A63AA #AA6663 #83AA63 #63A6AA
square
#8A63AA #AA6663 #83AA63 #63A6AA
split-complementary
#8A63AA #A6AA63 #63AA66
monochromatic
#4B345F #6B4987 #8A63AA #A88BC0 #C5B2D5

Accessibility & contrast

On white

4.72
#8A63AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8A63AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A63AA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63AA#FFFFFF#000000##FFFFFF
##8A63AA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5472AD
Deuteranopia (green-blind)
#5D74A8
Tritanopia (blue-blind)
#866E7E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8a63aa;
/* rgb */ color: rgb(138, 99, 170);
/* oklch */ color: oklch(56.8% 0.114 308.4);
Tailwind
colors: {
  custom: {
    50: '#ad90c3',
    500: '#8a63aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a63aa;
$custom-light: #ad90c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63aa",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 170
  },
  "hsl": {
    "h": 272.958,
    "s": 29.461,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56844,
    "c": 0.11398,
    "h": 308.4
  },
  "luminance": 0.17229
}

Semantic roles & 50–950 ramp

primary
#8A63AA
secondary
#B3C4A5
accent
#C6628F
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #8A63AA

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

Preview Lab → · Contrast checker → · Palette generator →

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