#8A63E3#8A63E3

#8A63E3 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.2% C 0.187 H 294.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8A63E3
RGBrgb(138, 99, 227)
HSLhsl(258, 70%, 64%)
HSVhsv(258, 56%, 89%)
CMYKcmyk(39.2%, 56.4%, 0%, 11%)
CIE-LABlab(51.69, 44.07, -59.90)
CIE-LCHlch(51.69, 74.37, 306.34°)
OKLaboklab(60.2% 0.0763 -0.1703)
OKLCHoklch(60.2% 0.187 294.1)
XYZxyz(28.8045, 19.8723, 74.9763)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63E3 #BCE363
analogous
#637CE3 #8A63E3 #CA63E3
triadic
#8A63E3 #E38A63 #63E38A
tetradic
#8A63E3 #E3637C #BCE363 #63E3CA
square
#8A63E3 #E3637C #BCE363 #63E3CA
split-complementary
#8A63E3 #E3CA63 #7CE363
monochromatic
#4A1FAD #632FDA #8A63E3 #B197EC #D8CBF6

Accessibility & contrast

On white

4.22
#8A63E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8A63E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63E3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63E3#FFFFFF#000000##000000
##8A63E31.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7DE7
Deuteranopia (green-blind)
#2C79E0
Tritanopia (blue-blind)
#737E9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a63e3;
/* rgb */ color: rgb(138, 99, 227);
/* oklch */ color: oklch(60.2% 0.187 294.1);
Tailwind
colors: {
  custom: {
    50: '#b191ec',
    500: '#8a63e3',
    950: '#000000',
  },
}
SCSS
$custom: #8a63e3;
$custom-light: #b191ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63e3",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 227
  },
  "hsl": {
    "h": 258.281,
    "s": 69.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60203,
    "c": 0.18656,
    "h": 294.1
  },
  "luminance": 0.19873
}

Semantic roles & 50–950 ramp

primary
#8A63E3
secondary
#DAE7BA
accent
#D21498
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8A63E3

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

Preview Lab → · Contrast checker → · Palette generator →

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