#8638AC#8638AC

#8638AC is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.0% C 0.183 H 312.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8638AC
RGBrgb(134, 56, 172)
HSLhsl(280, 51%, 45%)
HSVhsv(280, 67%, 67%)
CMYKcmyk(22.1%, 67.4%, 0%, 32.5%)
CIE-LABlab(39.37, 52.09, -47.94)
CIE-LCHlch(39.37, 70.79, 317.38°)
OKLaboklab(50.01% 0.1241 -0.1351)
OKLCHoklch(50.01% 0.183 312.6)
XYZxyz(18.6908, 10.8758, 40.1364)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8638AC #5EAC38
analogous
#4C38AC #8638AC #AC3898
triadic
#8638AC #AC8638 #38AC86
tetradic
#8638AC #AC4C38 #5EAC38 #3898AC
square
#8638AC #AC4C38 #5EAC38 #3898AC
split-complementary
#8638AC #98AC38 #38AC4C
monochromatic
#3E1A50 #62297E #8638AC #A458C9 #BD87D8

Accessibility & contrast

On white

6.61
#8638AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8638AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8638AC
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8638AC#FFFFFF#000000##FFFFFF
##8638AC1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8638ac;
/* rgb */ color: rgb(134, 56, 172);
/* oklch */ color: oklch(50.0% 0.183 312.6);
Tailwind
colors: {
  custom: {
    50: '#ad74c5',
    500: '#8638ac',
    950: '#000000',
  },
}
SCSS
$custom: #8638ac;
$custom-light: #ad74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8638ac",
  "rgb": {
    "r": 134,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 280.345,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50009,
    "c": 0.18347,
    "h": 312.6
  },
  "luminance": 0.10875
}

Semantic roles & 50–950 ramp

primary
#8638AC
secondary
#94C27E
accent
#DA4D7C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8638AC

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

Preview Lab → · Contrast checker → · Palette generator →

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