#8A63DC#8A63DC

#8A63DC is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.7% C 0.178 H 295.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8A63DC
RGBrgb(138, 99, 220)
HSLhsl(259, 63%, 63%)
HSVhsv(259, 55%, 86%)
CMYKcmyk(37.3%, 55%, 0%, 13.7%)
CIE-LABlab(51.26, 42.22, -56.64)
CIE-LCHlch(51.26, 70.64, 306.70°)
OKLaboklab(59.75% 0.0762 -0.1607)
OKLCHoklch(59.75% 0.178 295.4)
XYZxyz(27.8580, 19.4937, 69.9912)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63DC #B5DC63
analogous
#6378DC #8A63DC #C763DC
triadic
#8A63DC #DC8A63 #63DC8A
tetradic
#8A63DC #DC6378 #B5DC63 #63DCC7
square
#8A63DC #DC6378 #B5DC63 #63DCC7
split-complementary
#8A63DC #DCC763 #78DC63
monochromatic
#4C24A1 #6531D1 #8A63DC #AF95E7 #D5C7F2

Accessibility & contrast

On white

4.29
#8A63DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8A63DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63DC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63DC#FFFFFF#000000##000000
##8A63DC1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7BE0
Deuteranopia (green-blind)
#3778D9
Tritanopia (blue-blind)
#767C96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a63dc;
/* rgb */ color: rgb(138, 99, 220);
/* oklch */ color: oklch(59.7% 0.178 295.4);
Tailwind
colors: {
  custom: {
    50: '#b190e7',
    500: '#8a63dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a63dc;
$custom-light: #b190e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63dc",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 220
  },
  "hsl": {
    "h": 259.339,
    "s": 63.351,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59746,
    "c": 0.17782,
    "h": 295.4
  },
  "luminance": 0.19494
}

Semantic roles & 50–950 ramp

primary
#8A63DC
secondary
#D5E3B7
accent
#CB1A92
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D16
muted
#807D84

Preview Lab

Preview with #8A63DC

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

Preview Lab → · Contrast checker → · Palette generator →

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