#8A63EC#8A63EC

#8A63EC is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.8% C 0.198 H 292.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8A63EC
RGBrgb(138, 99, 236)
HSLhsl(257, 78%, 66%)
HSVhsv(257, 58%, 93%)
CMYKcmyk(41.5%, 58.1%, 0%, 7.5%)
CIE-LABlab(52.27, 46.48, -64.03)
CIE-LCHlch(52.27, 79.12, 305.98°)
OKLaboklab(60.81% 0.0762 -0.1824)
OKLCHoklch(60.81% 0.198 292.7)
XYZxyz(30.0793, 20.3822, 81.6900)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63EC #C5EC63
analogous
#6380EC #8A63EC #CE63EC
triadic
#8A63EC #EC8A63 #63EC8A
tetradic
#8A63EC #EC6380 #C5EC63 #63ECCE
square
#8A63EC #EC6380 #C5EC63 #63ECCE
split-complementary
#8A63EC #ECCE63 #80EC63
monochromatic
#4617BE #612CE5 #8A63EC #B39AF3 #DCD0F9

Accessibility & contrast

On white

4.14
#8A63EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8A63EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63EC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63EC#FFFFFF#000000##000000
##8A63EC1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#197AE9
Tritanopia (blue-blind)
#6F819E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a63ec;
/* rgb */ color: rgb(138, 99, 236);
/* oklch */ color: oklch(60.8% 0.198 292.7);
Tailwind
colors: {
  custom: {
    50: '#b291f3',
    500: '#8a63ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a63ec;
$custom-light: #b291f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63ec",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 236
  },
  "hsl": {
    "h": 257.08,
    "s": 78.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60809,
    "c": 0.19767,
    "h": 292.7
  },
  "luminance": 0.20383
}

Semantic roles & 50–950 ramp

primary
#8A63EC
secondary
#DFECBF
accent
#DB0B9F
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A63EC

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

Preview Lab → · Contrast checker → · Palette generator →

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