#8A63E1#8A63E1

#8A63E1 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.1% C 0.184 H 294.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8A63E1
RGBrgb(138, 99, 225)
HSLhsl(259, 68%, 64%)
HSVhsv(259, 56%, 88%)
CMYKcmyk(38.7%, 56%, 0%, 11.8%)
CIE-LABlab(51.57, 43.54, -58.97)
CIE-LCHlch(51.57, 73.30, 306.44°)
OKLaboklab(60.07% 0.0763 -0.1675)
OKLCHoklch(60.07% 0.184 294.5)
XYZxyz(28.5301, 19.7626, 73.5310)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63E1 #BAE163
analogous
#637BE1 #8A63E1 #C963E1
triadic
#8A63E1 #E18A63 #63E18A
tetradic
#8A63E1 #E1637B #BAE163 #63E1C9
square
#8A63E1 #E1637B #BAE163 #63E1C9
split-complementary
#8A63E1 #E1C963 #7BE163
monochromatic
#4B21A9 #6430D7 #8A63E1 #B096EB #D7CAF5

Accessibility & contrast

On white

4.24
#8A63E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8A63E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63E1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63E1#FFFFFF#000000##000000
##8A63E11.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#227CE5
Deuteranopia (green-blind)
#3079DE
Tritanopia (blue-blind)
#747E99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a63e1;
/* rgb */ color: rgb(138, 99, 225);
/* oklch */ color: oklch(60.1% 0.184 294.5);
Tailwind
colors: {
  custom: {
    50: '#b191eb',
    500: '#8a63e1',
    950: '#000000',
  },
}
SCSS
$custom: #8a63e1;
$custom-light: #b191eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63e1",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 225
  },
  "hsl": {
    "h": 258.571,
    "s": 67.742,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60072,
    "c": 0.18407,
    "h": 294.5
  },
  "luminance": 0.19763
}

Semantic roles & 50–950 ramp

primary
#8A63E1
secondary
#D8E6BA
accent
#D01696
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D16
muted
#807D84

Preview Lab

Preview with #8A63E1

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

Preview Lab → · Contrast checker → · Palette generator →

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