#8A63B6#8A63B6

#8A63B6 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.5% C 0.129 H 304.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8A63B6
RGBrgb(138, 99, 182)
HSLhsl(268, 36%, 55%)
HSVhsv(268, 46%, 71%)
CMYKcmyk(24.2%, 45.6%, 0%, 28.6%)
CIE-LABlab(49.14, 32.55, -38.24)
CIE-LCHlch(49.14, 50.21, 310.41°)
OKLaboklab(57.48% 0.0729 -0.1069)
OKLCHoklch(57.48% 0.129 304.3)
XYZxyz(23.3848, 17.7044, 46.4322)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63B6 #8FB663
analogous
#6365B6 #8A63B6 #B463B6
triadic
#8A63B6 #B68A63 #63B68A
tetradic
#8A63B6 #B66365 #8FB663 #63B6B4
square
#8A63B6 #B66365 #8FB663 #63B6B4
split-complementary
#8A63B6 #B6B463 #65B663
monochromatic
#4E336C #6C4696 #8A63B6 #A98DCA #C9B6DD

Accessibility & contrast

On white

4.62
#8A63B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8A63B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8A63B6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63B6#FFFFFF#000000##FFFFFF
##8A63B61.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D74B9
Deuteranopia (green-blind)
#5675B4
Tritanopia (blue-blind)
#837184
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a63b6;
/* rgb */ color: rgb(138, 99, 182);
/* oklch */ color: oklch(57.5% 0.129 304.3);
Tailwind
colors: {
  custom: {
    50: '#ae90cc',
    500: '#8a63b6',
    950: '#000000',
  },
}
SCSS
$custom: #8a63b6;
$custom-light: #ae90cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63b6",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 182
  },
  "hsl": {
    "h": 268.193,
    "s": 36.245,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57478,
    "c": 0.12938,
    "h": 304.3
  },
  "luminance": 0.17704
}

Semantic roles & 50–950 ramp

primary
#8A63B6
secondary
#BBCCA9
accent
#CC5C97
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8A63B6

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

Preview Lab → · Contrast checker → · Palette generator →

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