#8A63ED#8A63ED

#8A63ED is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.9% C 0.199 H 292.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8A63ED
RGBrgb(138, 99, 237)
HSLhsl(257, 79%, 66%)
HSVhsv(257, 58%, 93%)
CMYKcmyk(41.8%, 58.2%, 0%, 7.1%)
CIE-LABlab(52.33, 46.75, -64.49)
CIE-LCHlch(52.33, 79.65, 305.94°)
OKLaboklab(60.88% 0.0762 -0.1837)
OKLCHoklch(60.88% 0.199 292.5)
XYZxyz(30.2250, 20.4405, 82.4573)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63ED #C6ED63
analogous
#6381ED #8A63ED #CF63ED
triadic
#8A63ED #ED8A63 #63ED8A
tetradic
#8A63ED #ED6381 #C6ED63 #63EDCF
square
#8A63ED #ED6381 #C6ED63 #63EDCF
split-complementary
#8A63ED #EDCF63 #81ED63
monochromatic
#4616C0 #612CE7 #8A63ED #B39AF3 #DCD1FA

Accessibility & contrast

On white

4.13
#8A63ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8A63ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63ED
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63ED#FFFFFF#000000##000000
##8A63ED1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#157AEA
Tritanopia (blue-blind)
#6F819F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8a63ed;
/* rgb */ color: rgb(138, 99, 237);
/* oklch */ color: oklch(60.9% 0.199 292.5);
Tailwind
colors: {
  custom: {
    50: '#b291f4',
    500: '#8a63ed',
    950: '#000000',
  },
}
SCSS
$custom: #8a63ed;
$custom-light: #b291f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63ed",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 237
  },
  "hsl": {
    "h": 256.957,
    "s": 79.31,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60877,
    "c": 0.19889,
    "h": 292.5
  },
  "luminance": 0.20441
}

Semantic roles & 50–950 ramp

primary
#8A63ED
secondary
#E0EDBF
accent
#DC0AA0
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8A63ED

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

Preview Lab → · Contrast checker → · Palette generator →

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