#8A63CD#8A63CD

#8A63CD is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.8% C 0.159 H 298.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8A63CD
RGBrgb(138, 99, 205)
HSLhsl(262, 51%, 60%)
HSVhsv(262, 52%, 80%)
CMYKcmyk(32.7%, 51.7%, 0%, 19.6%)
CIE-LABlab(50.38, 38.31, -49.52)
CIE-LCHlch(50.38, 62.61, 307.72°)
OKLaboklab(58.81% 0.0755 -0.1398)
OKLCHoklch(58.81% 0.159 298.4)
XYZxyz(25.9598, 18.7345, 59.9942)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63CD #A6CD63
analogous
#6371CD #8A63CD #BF63CD
triadic
#8A63CD #CD8A63 #63CD8A
tetradic
#8A63CD #CD6371 #A6CD63 #63CDBF
square
#8A63CD #CD6371 #A6CD63 #63CDBF
split-complementary
#8A63CD #CDBF63 #71CD63
monochromatic
#4E2C8A #693BB8 #8A63CD #AD91DC #D0C0EB

Accessibility & contrast

On white

4.42
#8A63CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8A63CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63CD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63CD#FFFFFF#000000##000000
##8A63CD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D1
Deuteranopia (green-blind)
#4677CA
Tritanopia (blue-blind)
#7C788F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a63cd;
/* rgb */ color: rgb(138, 99, 205);
/* oklch */ color: oklch(58.8% 0.159 298.4);
Tailwind
colors: {
  custom: {
    50: '#af90dd',
    500: '#8a63cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a63cd;
$custom-light: #af90dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63cd",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 205
  },
  "hsl": {
    "h": 262.075,
    "s": 51.456,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58806,
    "c": 0.15888,
    "h": 298.4
  },
  "luminance": 0.18735
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A63CD

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

Preview Lab → · Contrast checker → · Palette generator →

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