#8A63CE#8A63CE

#8A63CE is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.9% C 0.160 H 298.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8A63CE
RGBrgb(138, 99, 206)
HSLhsl(262, 52%, 60%)
HSVhsv(262, 52%, 81%)
CMYKcmyk(33%, 51.9%, 0%, 19.2%)
CIE-LABlab(50.43, 38.57, -50.00)
CIE-LCHlch(50.43, 63.15, 307.64°)
OKLaboklab(58.87% 0.0756 -0.1412)
OKLCHoklch(58.87% 0.16 298.1)
XYZxyz(26.0809, 18.7829, 60.6319)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63CE #A7CE63
analogous
#6372CE #8A63CE #BF63CE
triadic
#8A63CE #CE8A63 #63CE8A
tetradic
#8A63CE #CE6372 #A7CE63 #63CEBF
square
#8A63CE #CE6372 #A7CE63 #63CEBF
split-complementary
#8A63CE #CEBF63 #72CE63
monochromatic
#4E2C8B #693ABA #8A63CE #AD92DD #D0C0EB

Accessibility & contrast

On white

4.41
#8A63CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8A63CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63CE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63CE#FFFFFF#000000##000000
##8A63CE1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B78D2
Deuteranopia (green-blind)
#4577CB
Tritanopia (blue-blind)
#7B788F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a63ce;
/* rgb */ color: rgb(138, 99, 206);
/* oklch */ color: oklch(58.9% 0.160 298.1);
Tailwind
colors: {
  custom: {
    50: '#af90dd',
    500: '#8a63ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a63ce;
$custom-light: #af90dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63ce",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 206
  },
  "hsl": {
    "h": 261.869,
    "s": 52.195,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58867,
    "c": 0.16015,
    "h": 298.1
  },
  "luminance": 0.18783
}

Semantic roles & 50–950 ramp

primary
#8A63CE
secondary
#CCDBB2
accent
#DC4CA7
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110D15
muted
#807D83

Preview Lab

Preview with #8A63CE

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

Preview Lab → · Contrast checker → · Palette generator →

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