#8A63BC#8A63BC

#8A63BC is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.8% C 0.137 H 302.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8A63BC
RGBrgb(138, 99, 188)
HSLhsl(266, 40%, 56%)
HSVhsv(266, 47%, 74%)
CMYKcmyk(26.6%, 47.3%, 0%, 26.3%)
CIE-LABlab(49.44, 34.02, -41.23)
CIE-LCHlch(49.44, 53.45, 309.53°)
OKLaboklab(57.81% 0.0738 -0.1155)
OKLCHoklch(57.81% 0.137 302.6)
XYZxyz(24.0182, 17.9578, 49.7681)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63BC #95BC63
analogous
#6369BC #8A63BC #B763BC
triadic
#8A63BC #BC8A63 #63BC8A
tetradic
#8A63BC #BC6369 #95BC63 #63BCB7
square
#8A63BC #BC6369 #95BC63 #63BCB7
split-complementary
#8A63BC #BCB763 #69BC63
monochromatic
#4E3173 #6B449E #8A63BC #AA8ECE #CAB9E1

Accessibility & contrast

On white

4.57
#8A63BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8A63BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63BC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63BC#FFFFFF#000000##000000
##8A63BC1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4975BF
Deuteranopia (green-blind)
#5375BA
Tritanopia (blue-blind)
#817386
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a63bc;
/* rgb */ color: rgb(138, 99, 188);
/* oklch */ color: oklch(57.8% 0.137 302.6);
Tailwind
colors: {
  custom: {
    50: '#ae90d0',
    500: '#8a63bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a63bc;
$custom-light: #ae90d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63bc",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 188
  },
  "hsl": {
    "h": 266.292,
    "s": 39.91,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57811,
    "c": 0.1371,
    "h": 302.6
  },
  "luminance": 0.17958
}

Semantic roles & 50–950 ramp

primary
#8A63BC
secondary
#C0D0AB
accent
#D0589B
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8A63BC

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

Preview Lab → · Contrast checker → · Palette generator →

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