#8A63BA#8A63BA

#8A63BA is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.7% C 0.135 H 303.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8A63BA
RGBrgb(138, 99, 186)
HSLhsl(267, 39%, 56%)
HSVhsv(267, 47%, 73%)
CMYKcmyk(25.8%, 46.8%, 0%, 27.1%)
CIE-LABlab(49.34, 33.53, -40.23)
CIE-LCHlch(49.34, 52.37, 309.80°)
OKLaboklab(57.7% 0.0735 -0.1127)
OKLCHoklch(57.7% 0.135 303.1)
XYZxyz(23.8041, 17.8722, 48.6405)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63BA #93BA63
analogous
#6367BA #8A63BA #B663BA
triadic
#8A63BA #BA8A63 #63BA8A
tetradic
#8A63BA #BA6367 #93BA63 #63BAB6
square
#8A63BA #BA6367 #93BA63 #63BAB6
split-complementary
#8A63BA #BAB663 #67BA63
monochromatic
#4E3271 #6B459B #8A63BA #AA8DCD #CAB8E0

Accessibility & contrast

On white

4.59
#8A63BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8A63BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A63BA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63BA#FFFFFF#000000##FFFFFF
##8A63BA1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B74BD
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#827286
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a63ba;
/* rgb */ color: rgb(138, 99, 186);
/* oklch */ color: oklch(57.7% 0.135 303.1);
Tailwind
colors: {
  custom: {
    50: '#ae90cf',
    500: '#8a63ba',
    950: '#000000',
  },
}
SCSS
$custom: #8a63ba;
$custom-light: #ae90cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63ba",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 186
  },
  "hsl": {
    "h": 266.897,
    "s": 38.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57699,
    "c": 0.13453,
    "h": 303.1
  },
  "luminance": 0.17872
}

Semantic roles & 50–950 ramp

primary
#8A63BA
secondary
#BECEAA
accent
#CF599A
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8A63BA

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

Preview Lab → · Contrast checker → · Palette generator →

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