#8638AB#8638AB

#8638AB is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.9% C 0.182 H 312.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8638AB
RGBrgb(134, 56, 171)
HSLhsl(281, 51%, 45%)
HSVhsv(281, 67%, 67%)
CMYKcmyk(21.6%, 67.3%, 0%, 32.9%)
CIE-LABlab(39.31, 51.88, -47.45)
CIE-LCHlch(39.31, 70.30, 317.55°)
OKLaboklab(49.94% 0.1242 -0.1337)
OKLCHoklch(49.94% 0.182 312.9)
XYZxyz(18.5951, 10.8375, 39.6325)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8638AB #5DAB38
analogous
#4D38AB #8638AB #AB3897
triadic
#8638AB #AB8638 #38AB86
tetradic
#8638AB #AB4D38 #5DAB38 #3897AB
square
#8638AB #AB4D38 #5DAB38 #3897AB
split-complementary
#8638AB #97AB38 #38AB4D
monochromatic
#3E1A4F #62297D #8638AB #A458C8 #BD86D7

Accessibility & contrast

On white

6.63
#8638AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8638AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8638AB
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8638AB#FFFFFF#000000##FFFFFF
##8638AB1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#2F5EA8
Tritanopia (blue-blind)
#824F6D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8638ab;
/* rgb */ color: rgb(134, 56, 171);
/* oklch */ color: oklch(49.9% 0.182 312.9);
Tailwind
colors: {
  custom: {
    50: '#ad74c5',
    500: '#8638ab',
    950: '#000000',
  },
}
SCSS
$custom: #8638ab;
$custom-light: #ad74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8638ab",
  "rgb": {
    "r": 134,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 280.696,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49942,
    "c": 0.18246,
    "h": 312.9
  },
  "luminance": 0.10837
}

Semantic roles & 50–950 ramp

primary
#8638AB
secondary
#93C17D
accent
#DA4E7B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8638AB

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

Preview Lab → · Contrast checker → · Palette generator →

#8638AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva