#8838AF#8838AF

#8838AF is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.5% C 0.187 H 312.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8838AF
RGBrgb(136, 56, 175)
HSLhsl(280, 52%, 45%)
HSVhsv(280, 68%, 69%)
CMYKcmyk(22.3%, 68%, 0%, 31.4%)
CIE-LABlab(39.85, 53.19, -48.94)
CIE-LCHlch(39.85, 72.28, 317.38°)
OKLaboklab(50.47% 0.1265 -0.138)
OKLCHoklch(50.47% 0.187 312.5)
XYZxyz(19.3040, 11.1583, 41.6860)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8838AF #5FAF38
analogous
#4C38AF #8838AF #AF389A
triadic
#8838AF #AF8838 #38AF88
tetradic
#8838AF #AF4C38 #5FAF38 #389AAF
square
#8838AF #AF4C38 #5FAF38 #389AAF
split-complementary
#8838AF #9AAF38 #38AF4C
monochromatic
#401A52 #642981 #8838AF #A55ACA #BF88D9

Accessibility & contrast

On white

6.50
#8838AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8838AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8838AF#FFFFFF#000000##FFFFFF
##8838AF1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#2D60AC
Tritanopia (blue-blind)
#84506F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8838af;
/* rgb */ color: rgb(136, 56, 175);
/* oklch */ color: oklch(50.5% 0.187 312.5);
Tailwind
colors: {
  custom: {
    50: '#ae75c7',
    500: '#8838af',
    950: '#000000',
  },
}
SCSS
$custom: #8838af;
$custom-light: #ae75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8838af",
  "rgb": {
    "r": 136,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 280.336,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50471,
    "c": 0.18719,
    "h": 312.5
  },
  "luminance": 0.11158
}

Semantic roles & 50–950 ramp

primary
#8838AF
secondary
#96C380
accent
#DB4D7B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8838AF

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

Preview Lab → · Contrast checker → · Palette generator →

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