#8A63E8#8A63E8

#8A63E8 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.5% C 0.193 H 293.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8A63E8
RGBrgb(138, 99, 232)
HSLhsl(258, 74%, 65%)
HSVhsv(258, 57%, 91%)
CMYKcmyk(40.5%, 57.3%, 0%, 9%)
CIE-LABlab(52.01, 45.41, -62.20)
CIE-LCHlch(52.01, 77.01, 306.13°)
OKLaboklab(60.54% 0.0763 -0.177)
OKLCHoklch(60.54% 0.193 293.3)
XYZxyz(29.5047, 20.1524, 78.6636)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63E8 #C1E863
analogous
#637EE8 #8A63E8 #CD63E8
triadic
#8A63E8 #E88A63 #63E88A
tetradic
#8A63E8 #E8637E #C1E863 #63E8CD
square
#8A63E8 #E8637E #C1E863 #63E8CD
split-complementary
#8A63E8 #E8CD63 #7EE863
monochromatic
#481BB6 #622EE0 #8A63E8 #B298F0 #DACEF8

Accessibility & contrast

On white

4.17
#8A63E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8A63E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63E8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63E8#FFFFFF#000000##000000
##8A63E81.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F7EEC
Deuteranopia (green-blind)
#237AE5
Tritanopia (blue-blind)
#71809C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a63e8;
/* rgb */ color: rgb(138, 99, 232);
/* oklch */ color: oklch(60.5% 0.193 293.3);
Tailwind
colors: {
  custom: {
    50: '#b291f0',
    500: '#8a63e8',
    950: '#000000',
  },
}
SCSS
$custom: #8a63e8;
$custom-light: #b291f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63e8",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 232
  },
  "hsl": {
    "h": 257.594,
    "s": 74.302,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60537,
    "c": 0.19275,
    "h": 293.3
  },
  "luminance": 0.20153
}

Semantic roles & 50–950 ramp

primary
#8A63E8
secondary
#DDEABD
accent
#D60F9C
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A63E8

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

Preview Lab → · Contrast checker → · Palette generator →

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