#8A63A2#8A63A2

#8A63A2 is a mid, moderate violet. Relative luminance 0.169; OKLCH L 56.4% C 0.104 H 311.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A63A2
RGBrgb(138, 99, 162)
HSLhsl(277, 25%, 51%)
HSVhsv(277, 39%, 64%)
CMYKcmyk(14.8%, 38.9%, 0%, 36.5%)
CIE-LABlab(48.18, 27.84, -28.04)
CIE-LCHlch(48.18, 39.52, 314.80°)
OKLaboklab(56.45% 0.0692 -0.0774)
OKLCHoklch(56.45% 0.104 311.8)
XYZxyz(21.4635, 16.9359, 36.3137)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63A2 #7BA263
analogous
#6A63A2 #8A63A2 #A2639A
triadic
#8A63A2 #A28A63 #63A28A
tetradic
#8A63A2 #A26A63 #7BA263 #639AA2
square
#8A63A2 #A26A63 #7BA263 #639AA2
split-complementary
#8A63A2 #9AA263 #63A26A
monochromatic
#493457 #6A4B7D #8A63A2 #A789B9 #C4B0D0

Accessibility & contrast

On white

4.79
#8A63A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8A63A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A63A2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63A2#FFFFFF#000000##FFFFFF
##8A63A21.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5770A4
Deuteranopia (green-blind)
#6173A0
Tritanopia (blue-blind)
#886C7B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8a63a2;
/* rgb */ color: rgb(138, 99, 162);
/* oklch */ color: oklch(56.4% 0.104 311.8);
Tailwind
colors: {
  custom: {
    50: '#ad90bd',
    500: '#8a63a2',
    950: '#000000',
  },
}
SCSS
$custom: #8a63a2;
$custom-light: #ad90bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63a2",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 162
  },
  "hsl": {
    "h": 277.143,
    "s": 25.301,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56445,
    "c": 0.10383,
    "h": 311.8
  },
  "luminance": 0.16936
}

Semantic roles & 50–950 ramp

primary
#8A63A2
secondary
#ADBEA2
accent
#C26689
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #8A63A2

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

Preview Lab → · Contrast checker → · Palette generator →

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