#8A63E4#8A63E4

#8A63E4 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.3% C 0.188 H 294.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8A63E4
RGBrgb(138, 99, 228)
HSLhsl(258, 70%, 64%)
HSVhsv(258, 57%, 89%)
CMYKcmyk(39.5%, 56.6%, 0%, 10.6%)
CIE-LABlab(51.76, 44.34, -60.36)
CIE-LCHlch(51.76, 74.90, 306.30°)
OKLaboklab(60.27% 0.0763 -0.1716)
OKLCHoklch(60.27% 0.188 294)
XYZxyz(28.9429, 19.9277, 75.7053)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63E4 #BDE463
analogous
#637DE4 #8A63E4 #CB63E4
triadic
#8A63E4 #E48A63 #63E48A
tetradic
#8A63E4 #E4637D #BDE463 #63E4CB
square
#8A63E4 #E4637D #BDE463 #63E4CB
split-complementary
#8A63E4 #E4CB63 #7DE463
monochromatic
#4A1EAE #632FDB #8A63E4 #B197ED #D8CBF6

Accessibility & contrast

On white

4.21
#8A63E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8A63E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63E4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63E4#FFFFFF#000000##000000
##8A63E41.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7DE8
Deuteranopia (green-blind)
#2B79E1
Tritanopia (blue-blind)
#737F9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a63e4;
/* rgb */ color: rgb(138, 99, 228);
/* oklch */ color: oklch(60.3% 0.188 294.0);
Tailwind
colors: {
  custom: {
    50: '#b191ed',
    500: '#8a63e4',
    950: '#000000',
  },
}
SCSS
$custom: #8a63e4;
$custom-light: #b191ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63e4",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 228
  },
  "hsl": {
    "h": 258.14,
    "s": 70.492,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6027,
    "c": 0.1878,
    "h": 294
  },
  "luminance": 0.19928
}

Semantic roles & 50–950 ramp

primary
#8A63E4
secondary
#DAE8BB
accent
#D31399
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A63E4

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

Preview Lab → · Contrast checker → · Palette generator →

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