#8A63EB#8A63EB

#8A63EB is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.7% C 0.196 H 292.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8A63EB
RGBrgb(138, 99, 235)
HSLhsl(257, 77%, 65%)
HSVhsv(257, 58%, 92%)
CMYKcmyk(41.3%, 57.9%, 0%, 7.8%)
CIE-LABlab(52.20, 46.21, -63.58)
CIE-LCHlch(52.20, 78.60, 306.01°)
OKLaboklab(60.74% 0.0762 -0.1811)
OKLCHoklch(60.74% 0.196 292.8)
XYZxyz(29.9344, 20.3243, 80.9270)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63EB #C4EB63
analogous
#6380EB #8A63EB #CE63EB
triadic
#8A63EB #EB8A63 #63EB8A
tetradic
#8A63EB #EB6380 #C4EB63 #63EBCE
square
#8A63EB #EB6380 #C4EB63 #63EBCE
split-complementary
#8A63EB #EBCE63 #80EB63
monochromatic
#4718BC #612DE4 #8A63EB #B399F2 #DBCFF9

Accessibility & contrast

On white

4.15
#8A63EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8A63EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63EB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63EB#FFFFFF#000000##000000
##8A63EB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEF
Deuteranopia (green-blind)
#1C7AE8
Tritanopia (blue-blind)
#70819E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a63eb;
/* rgb */ color: rgb(138, 99, 235);
/* oklch */ color: oklch(60.7% 0.196 292.8);
Tailwind
colors: {
  custom: {
    50: '#b291f2',
    500: '#8a63eb',
    950: '#000000',
  },
}
SCSS
$custom: #8a63eb;
$custom-light: #b291f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63eb",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 235
  },
  "hsl": {
    "h": 257.206,
    "s": 77.273,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6074,
    "c": 0.19645,
    "h": 292.8
  },
  "luminance": 0.20325
}

Semantic roles & 50–950 ramp

primary
#8A63EB
secondary
#DFECBE
accent
#DA0C9F
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A63EB

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

Preview Lab → · Contrast checker → · Palette generator →

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