#8A63CB#8A63CB

#8A63CB is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.7% C 0.156 H 298.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8A63CB
RGBrgb(138, 99, 203)
HSLhsl(263, 50%, 59%)
HSVhsv(263, 51%, 80%)
CMYKcmyk(32%, 51.2%, 0%, 20.4%)
CIE-LABlab(50.26, 37.80, -48.56)
CIE-LCHlch(50.26, 61.54, 307.89°)
OKLaboklab(58.68% 0.0753 -0.137)
OKLCHoklch(58.68% 0.156 298.8)
XYZxyz(25.7200, 18.6385, 58.7309)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63CB #A4CB63
analogous
#6370CB #8A63CB #BE63CB
triadic
#8A63CB #CB8A63 #63CB8A
tetradic
#8A63CB #CB6370 #A4CB63 #63CBBE
square
#8A63CB #CB6370 #A4CB63 #63CBBE
split-complementary
#8A63CB #CBBE63 #70CB63
monochromatic
#4F2D87 #693CB5 #8A63CB #AC91DA #CFBFEA

Accessibility & contrast

On white

4.44
#8A63CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8A63CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63CB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63CB#FFFFFF#000000##000000
##8A63CB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E78CF
Deuteranopia (green-blind)
#4877C9
Tritanopia (blue-blind)
#7C778E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a63cb;
/* rgb */ color: rgb(138, 99, 203);
/* oklch */ color: oklch(58.7% 0.156 298.8);
Tailwind
colors: {
  custom: {
    50: '#af90db',
    500: '#8a63cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a63cb;
$custom-light: #af90db;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63cb",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 203
  },
  "hsl": {
    "h": 262.5,
    "s": 50,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58685,
    "c": 0.15633,
    "h": 298.8
  },
  "luminance": 0.18639
}

Semantic roles & 50–950 ramp

primary
#8A63CB
secondary
#CAD9B1
accent
#DA4EA5
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A63CB

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

Preview Lab → · Contrast checker → · Palette generator →

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