#8A63BB#8A63BB

#8A63BB is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.8% C 0.136 H 302.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#8A63BB
RGBrgb(138, 99, 187)
HSLhsl(267, 39%, 56%)
HSVhsv(267, 47%, 73%)
CMYKcmyk(26.2%, 47.1%, 0%, 26.7%)
CIE-LABlab(49.39, 33.77, -40.73)
CIE-LCHlch(49.39, 52.91, 309.67°)
OKLaboklab(57.76% 0.0736 -0.1141)
OKLCHoklch(57.76% 0.136 302.8)
XYZxyz(23.9107, 17.9148, 49.2023)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63BB #94BB63
analogous
#6368BB #8A63BB #B663BB
triadic
#8A63BB #BB8A63 #63BB8A
tetradic
#8A63BB #BB6368 #94BB63 #63BBB6
square
#8A63BB #BB6368 #94BB63 #63BBB6
split-complementary
#8A63BB #BBB663 #68BB63
monochromatic
#4E3272 #6B449D #8A63BB #AA8ECE #CAB8E0

Accessibility & contrast

On white

4.58
#8A63BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8A63BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63BB
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63BB#FFFFFF#000000##000000
##8A63BB1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BE
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#817286
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8a63bb;
/* rgb */ color: rgb(138, 99, 187);
/* oklch */ color: oklch(57.8% 0.136 302.8);
Tailwind
colors: {
  custom: {
    50: '#ae90d0',
    500: '#8a63bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a63bb;
$custom-light: #ae90d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63bb",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 187
  },
  "hsl": {
    "h": 266.591,
    "s": 39.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57755,
    "c": 0.13581,
    "h": 302.8
  },
  "luminance": 0.17915
}

Semantic roles & 50–950 ramp

primary
#8A63BB
secondary
#BFCFAB
accent
#CF599B
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8A63BB

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

Preview Lab → · Contrast checker → · Palette generator →

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