#8A63CC#8A63CC

#8A63CC is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.7% C 0.158 H 298.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8A63CC
RGBrgb(138, 99, 204)
HSLhsl(262, 51%, 59%)
HSVhsv(262, 51%, 80%)
CMYKcmyk(32.4%, 51.5%, 0%, 20%)
CIE-LABlab(50.32, 38.05, -49.04)
CIE-LCHlch(50.32, 62.07, 307.81°)
OKLaboklab(58.75% 0.0754 -0.1384)
OKLCHoklch(58.75% 0.158 298.6)
XYZxyz(25.8395, 18.6863, 59.3605)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63CC #A5CC63
analogous
#6371CC #8A63CC #BF63CC
triadic
#8A63CC #CC8A63 #63CC8A
tetradic
#8A63CC #CC6371 #A5CC63 #63CCBF
square
#8A63CC #CC6371 #A5CC63 #63CCBF
split-complementary
#8A63CC #CCBF63 #71CC63
monochromatic
#4F2C88 #693CB6 #8A63CC #AD91DB #CFBFEA

Accessibility & contrast

On white

4.43
#8A63CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8A63CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63CC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63CC#FFFFFF#000000##000000
##8A63CC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D0
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#7C778E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a63cc;
/* rgb */ color: rgb(138, 99, 204);
/* oklch */ color: oklch(58.7% 0.158 298.6);
Tailwind
colors: {
  custom: {
    50: '#af90dc',
    500: '#8a63cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a63cc;
$custom-light: #af90dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63cc",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 204
  },
  "hsl": {
    "h": 262.286,
    "s": 50.725,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58745,
    "c": 0.1576,
    "h": 298.6
  },
  "luminance": 0.18687
}

Semantic roles & 50–950 ramp

primary
#8A63CC
secondary
#CBDAB1
accent
#DA4EA6
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110D15
muted
#807D83

Preview Lab

Preview with #8A63CC

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

Preview Lab → · Contrast checker → · Palette generator →

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