#8A63AF#8A63AF

#8A63AF is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.1% C 0.120 H 306.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8A63AF
RGBrgb(138, 99, 175)
HSLhsl(271, 32%, 54%)
HSVhsv(271, 43%, 69%)
CMYKcmyk(21.1%, 43.4%, 0%, 31.4%)
CIE-LABlab(48.79, 30.87, -34.71)
CIE-LCHlch(48.79, 46.45, 311.65°)
OKLaboklab(57.1% 0.0718 -0.0966)
OKLCHoklch(57.1% 0.12 306.6)
XYZxyz(22.6794, 17.4223, 42.7172)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63AF #88AF63
analogous
#6463AF #8A63AF #AF63AE
triadic
#8A63AF #AF8A63 #63AF8A
tetradic
#8A63AF #AF6463 #88AF63 #63AEAF
square
#8A63AF #AF6463 #88AF63 #63AEAF
split-complementary
#8A63AF #AEAF63 #63AF64
monochromatic
#4C3364 #6B488D #8A63AF #A88BC4 #C7B4D8

Accessibility & contrast

On white

4.68
#8A63AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8A63AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A63AF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63AF#FFFFFF#000000##FFFFFF
##8A63AF1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5172B2
Deuteranopia (green-blind)
#5A74AD
Tritanopia (blue-blind)
#856F81
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a63af;
/* rgb */ color: rgb(138, 99, 175);
/* oklch */ color: oklch(57.1% 0.120 306.6);
Tailwind
colors: {
  custom: {
    50: '#ae90c7',
    500: '#8a63af',
    950: '#000000',
  },
}
SCSS
$custom: #8a63af;
$custom-light: #ae90c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63af",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 175
  },
  "hsl": {
    "h": 270.789,
    "s": 32.203,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57103,
    "c": 0.12039,
    "h": 306.6
  },
  "luminance": 0.17422
}

Semantic roles & 50–950 ramp

primary
#8A63AF
secondary
#B6C7A7
accent
#C85F93
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8A63AF

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

Preview Lab → · Contrast checker → · Palette generator →

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