#8A63EA#8A63EA

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

Color values

HEX#8A63EA
RGBrgb(138, 99, 234)
HSLhsl(257, 76%, 65%)
HSVhsv(257, 58%, 92%)
CMYKcmyk(41%, 57.7%, 0%, 8.2%)
CIE-LABlab(52.14, 45.94, -63.12)
CIE-LCHlch(52.14, 78.07, 306.05°)
OKLaboklab(60.67% 0.0762 -0.1797)
OKLCHoklch(60.67% 0.195 293)
XYZxyz(29.7903, 20.2667, 80.1682)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63EA #C3EA63
analogous
#6380EA #8A63EA #CD63EA
triadic
#8A63EA #EA8A63 #63EA8A
tetradic
#8A63EA #EA6380 #C3EA63 #63EACD
square
#8A63EA #EA6380 #C3EA63 #63EACD
split-complementary
#8A63EA #EACD63 #80EA63
monochromatic
#4719BA #622DE3 #8A63EA #B299F1 #DBCFF9

Accessibility & contrast

On white

4.16
#8A63EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8A63EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63EA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63EA#FFFFFF#000000##000000
##8A63EA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#057EEE
Deuteranopia (green-blind)
#1E7AE7
Tritanopia (blue-blind)
#70809D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a63ea;
/* rgb */ color: rgb(138, 99, 234);
/* oklch */ color: oklch(60.7% 0.195 293.0);
Tailwind
colors: {
  custom: {
    50: '#b291f1',
    500: '#8a63ea',
    950: '#000000',
  },
}
SCSS
$custom: #8a63ea;
$custom-light: #b291f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63ea",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 234
  },
  "hsl": {
    "h": 257.333,
    "s": 76.271,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60673,
    "c": 0.19521,
    "h": 293
  },
  "luminance": 0.20267
}

Semantic roles & 50–950 ramp

primary
#8A63EA
secondary
#DEEBBE
accent
#D80D9E
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A63EA

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

Preview Lab → · Contrast checker → · Palette generator →

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