#8837AF#8837AF

#8837AF is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.4% C 0.189 H 312.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8837AF
RGBrgb(136, 55, 175)
HSLhsl(281, 52%, 45%)
HSVhsv(281, 69%, 69%)
CMYKcmyk(22.3%, 68.6%, 0%, 31.4%)
CIE-LABlab(39.69, 53.64, -49.20)
CIE-LCHlch(39.69, 72.78, 317.47°)
OKLaboklab(50.36% 0.1276 -0.1388)
OKLCHoklch(50.36% 0.189 312.6)
XYZxyz(19.2560, 11.0623, 41.6700)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8837AF #5EAF37
analogous
#4C37AF #8837AF #AF379A
triadic
#8837AF #AF8837 #37AF88
tetradic
#8837AF #AF4C37 #5EAF37 #379AAF
square
#8837AF #AF4C37 #5EAF37 #379AAF
split-complementary
#8837AF #9AAF37 #37AF4C
monochromatic
#401A52 #642880 #8837AF #A659CB #BF87D9

Accessibility & contrast

On white

6.54
#8837AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8837AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8837AF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8837AF#FFFFFF#000000##FFFFFF
##8837AF1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#2C5FAC
Tritanopia (blue-blind)
#84506F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8837af;
/* rgb */ color: rgb(136, 55, 175);
/* oklch */ color: oklch(50.4% 0.189 312.6);
Tailwind
colors: {
  custom: {
    50: '#ae74c7',
    500: '#8837af',
    950: '#000000',
  },
}
SCSS
$custom: #8837af;
$custom-light: #ae74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8837af",
  "rgb": {
    "r": 136,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 280.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50356,
    "c": 0.1885,
    "h": 312.6
  },
  "luminance": 0.11062
}

Semantic roles & 50–950 ramp

primary
#8837AF
secondary
#95C37F
accent
#DC4C7B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8837AF

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

Preview Lab → · Contrast checker → · Palette generator →

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