#8838AA#8838AA

#8838AA is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.1% C 0.182 H 314.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8838AA
RGBrgb(136, 56, 170)
HSLhsl(282, 50%, 44%)
HSVhsv(282, 67%, 67%)
CMYKcmyk(20%, 67.1%, 0%, 33.3%)
CIE-LABlab(39.52, 52.12, -46.49)
CIE-LCHlch(39.52, 69.84, 318.27°)
OKLaboklab(50.14% 0.1268 -0.1308)
OKLCHoklch(50.14% 0.182 314.1)
XYZxyz(18.8220, 10.9655, 39.1475)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8838AA #5AAA38
analogous
#4F38AA #8838AA #AA3893
triadic
#8838AA #AA8838 #38AA88
tetradic
#8838AA #AA4F38 #5AAA38 #3893AA
square
#8838AA #AA4F38 #5AAA38 #3893AA
split-complementary
#8838AA #93AA38 #38AA4F
monochromatic
#3E1A4E #63297C #8838AA #A657C8 #BF85D7

Accessibility & contrast

On white

6.58
#8838AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8838AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8838AA#FFFFFF#000000##FFFFFF
##8838AA1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#335FA7
Tritanopia (blue-blind)
#854E6C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8838aa;
/* rgb */ color: rgb(136, 56, 170);
/* oklch */ color: oklch(50.1% 0.182 314.1);
Tailwind
colors: {
  custom: {
    50: '#ae75c4',
    500: '#8838aa',
    950: '#000000',
  },
}
SCSS
$custom: #8838aa;
$custom-light: #ae75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8838aa",
  "rgb": {
    "r": 136,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 282.105,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50136,
    "c": 0.1822,
    "h": 314.1
  },
  "luminance": 0.10965
}

Semantic roles & 50–950 ramp

primary
#8838AA
secondary
#91C17D
accent
#DA4E78
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8838AA

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

Preview Lab → · Contrast checker → · Palette generator →

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