#8A63E2#8A63E2

#8A63E2 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.1% C 0.185 H 294.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8A63E2
RGBrgb(138, 99, 226)
HSLhsl(258, 69%, 64%)
HSVhsv(258, 56%, 89%)
CMYKcmyk(38.9%, 56.2%, 0%, 11.4%)
CIE-LABlab(51.63, 43.80, -59.44)
CIE-LCHlch(51.63, 73.83, 306.39°)
OKLaboklab(60.14% 0.0763 -0.1689)
OKLCHoklch(60.14% 0.185 294.3)
XYZxyz(28.6669, 19.8173, 74.2515)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63E2 #BBE263
analogous
#637BE2 #8A63E2 #C963E2
triadic
#8A63E2 #E28A63 #63E28A
tetradic
#8A63E2 #E2637B #BBE263 #63E2C9
square
#8A63E2 #E2637B #BBE263 #63E2C9
split-complementary
#8A63E2 #E2C963 #7BE263
monochromatic
#4A20AB #632FD8 #8A63E2 #B197EC #D7CAF5

Accessibility & contrast

On white

4.23
#8A63E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8A63E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63E2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63E2#FFFFFF#000000##000000
##8A63E21.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#207CE6
Deuteranopia (green-blind)
#2E79DF
Tritanopia (blue-blind)
#747E99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a63e2;
/* rgb */ color: rgb(138, 99, 226);
/* oklch */ color: oklch(60.1% 0.185 294.3);
Tailwind
colors: {
  custom: {
    50: '#b191ec',
    500: '#8a63e2',
    950: '#000000',
  },
}
SCSS
$custom: #8a63e2;
$custom-light: #b191ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63e2",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 226
  },
  "hsl": {
    "h": 258.425,
    "s": 68.649,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60137,
    "c": 0.18531,
    "h": 294.3
  },
  "luminance": 0.19818
}

Semantic roles & 50–950 ramp

primary
#8A63E2
secondary
#D9E7BA
accent
#D11597
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D16
muted
#807D84

Preview Lab

Preview with #8A63E2

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

Preview Lab → · Contrast checker → · Palette generator →

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