#8838AE#8838AE

#8838AE is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.4% C 0.186 H 312.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8838AE
RGBrgb(136, 56, 174)
HSLhsl(281, 51%, 45%)
HSVhsv(281, 68%, 68%)
CMYKcmyk(21.8%, 67.8%, 0%, 31.8%)
CIE-LABlab(39.78, 52.97, -48.45)
CIE-LCHlch(39.78, 71.79, 317.55°)
OKLaboklab(50.4% 0.1266 -0.1366)
OKLCHoklch(50.4% 0.186 312.8)
XYZxyz(19.2061, 11.1191, 41.1707)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8838AE #5EAE38
analogous
#4D38AE #8838AE #AE3899
triadic
#8838AE #AE8838 #38AE88
tetradic
#8838AE #AE4D38 #5EAE38 #3899AE
square
#8838AE #AE4D38 #5EAE38 #3899AE
split-complementary
#8838AE #99AE38 #38AE4D
monochromatic
#401A51 #642980 #8838AE #A659CA #BF88D9

Accessibility & contrast

On white

6.51
#8838AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8838AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8838AE
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8838AE#FFFFFF#000000##FFFFFF
##8838AE1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#2F5FAB
Tritanopia (blue-blind)
#84506E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8838ae;
/* rgb */ color: rgb(136, 56, 174);
/* oklch */ color: oklch(50.4% 0.186 312.8);
Tailwind
colors: {
  custom: {
    50: '#ae75c7',
    500: '#8838ae',
    950: '#000000',
  },
}
SCSS
$custom: #8838ae;
$custom-light: #ae75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8838ae",
  "rgb": {
    "r": 136,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 280.678,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50404,
    "c": 0.1862,
    "h": 312.8
  },
  "luminance": 0.11119
}

Semantic roles & 50–950 ramp

primary
#8838AE
secondary
#95C37F
accent
#DB4D7B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8838AE

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

Preview Lab → · Contrast checker → · Palette generator →

#8838AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva