#8A63D8#8A63D8

#8A63D8 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.5% C 0.173 H 296.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8A63D8
RGBrgb(138, 99, 216)
HSLhsl(260, 60%, 62%)
HSVhsv(260, 54%, 85%)
CMYKcmyk(36.1%, 54.2%, 0%, 15.3%)
CIE-LABlab(51.02, 41.16, -54.76)
CIE-LCHlch(51.02, 68.51, 306.93°)
OKLaboklab(59.49% 0.0761 -0.1552)
OKLCHoklch(59.49% 0.173 296.1)
XYZxyz(27.3346, 19.2844, 67.2345)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63D8 #B1D863
analogous
#6377D8 #8A63D8 #C563D8
triadic
#8A63D8 #D88A63 #63D88A
tetradic
#8A63D8 #D86377 #B1D863 #63D8C5
square
#8A63D8 #D86377 #B1D863 #63D8C5
split-complementary
#8A63D8 #D8C563 #77D863
monochromatic
#4D279A #6633CB #8A63D8 #AF94E4 #D3C5F0

Accessibility & contrast

On white

4.32
#8A63D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8A63D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63D8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63D8#FFFFFF#000000##000000
##8A63D81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#307ADC
Deuteranopia (green-blind)
#3B78D5
Tritanopia (blue-blind)
#787B94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a63d8;
/* rgb */ color: rgb(138, 99, 216);
/* oklch */ color: oklch(59.5% 0.173 296.1);
Tailwind
colors: {
  custom: {
    50: '#b090e5',
    500: '#8a63d8',
    950: '#000000',
  },
}
SCSS
$custom: #8a63d8;
$custom-light: #b090e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63d8",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 216
  },
  "hsl": {
    "h": 260,
    "s": 60,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5949,
    "c": 0.1728,
    "h": 296.1
  },
  "luminance": 0.19285
}

Semantic roles & 50–950 ramp

primary
#8A63D8
secondary
#D3E1B6
accent
#C81E8F
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110D16
muted
#807D84

Preview Lab

Preview with #8A63D8

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

Preview Lab → · Contrast checker → · Palette generator →

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