#8A63BE#8A63BE

#8A63BE is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.9% C 0.140 H 302.0°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8A63BE
RGBrgb(138, 99, 190)
HSLhsl(266, 41%, 57%)
HSVhsv(266, 48%, 75%)
CMYKcmyk(27.4%, 47.9%, 0%, 25.5%)
CIE-LABlab(49.55, 34.52, -42.21)
CIE-LCHlch(49.55, 54.53, 309.27°)
OKLaboklab(57.92% 0.074 -0.1184)
OKLCHoklch(57.92% 0.14 302)
XYZxyz(24.2353, 18.0446, 50.9114)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63BE #97BE63
analogous
#636ABE #8A63BE #B763BE
triadic
#8A63BE #BE8A63 #63BE8A
tetradic
#8A63BE #BE636A #97BE63 #63BEB7
square
#8A63BE #BE636A #97BE63 #63BEB7
split-complementary
#8A63BE #BEB763 #6ABE63
monochromatic
#4E3176 #6B43A1 #8A63BE #AA8ED0 #CBB9E2

Accessibility & contrast

On white

4.56
#8A63BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8A63BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63BE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63BE#FFFFFF#000000##000000
##8A63BE1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4875C1
Deuteranopia (green-blind)
#5275BC
Tritanopia (blue-blind)
#807387
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a63be;
/* rgb */ color: rgb(138, 99, 190);
/* oklch */ color: oklch(57.9% 0.140 302.0);
Tailwind
colors: {
  custom: {
    50: '#ae90d2',
    500: '#8a63be',
    950: '#000000',
  },
}
SCSS
$custom: #8a63be;
$custom-light: #ae90d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63be",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 190
  },
  "hsl": {
    "h": 265.714,
    "s": 41.176,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57924,
    "c": 0.13968,
    "h": 302
  },
  "luminance": 0.18045
}

Semantic roles & 50–950 ramp

primary
#8A63BE
secondary
#C1D1AC
accent
#D1579D
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8A63BE

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

Preview Lab → · Contrast checker → · Palette generator →

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