#8738AB#8738AB

#8738AB is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.1% C 0.183 H 313.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8738AB
RGBrgb(135, 56, 171)
HSLhsl(281, 51%, 45%)
HSVhsv(281, 67%, 67%)
CMYKcmyk(21.1%, 67.3%, 0%, 32.9%)
CIE-LABlab(39.45, 52.10, -47.21)
CIE-LCHlch(39.45, 70.31, 317.82°)
OKLaboklab(50.07% 0.1255 -0.133)
OKLCHoklch(50.07% 0.183 313.3)
XYZxyz(18.7553, 10.9201, 39.6400)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738AB #5CAB38
analogous
#4D38AB #8738AB #AB3896
triadic
#8738AB #AB8738 #38AB87
tetradic
#8738AB #AB4D38 #5CAB38 #3896AB
square
#8738AB #AB4D38 #5CAB38 #3896AB
split-complementary
#8738AB #96AB38 #38AB4D
monochromatic
#3E1A4F #63297D #8738AB #A558C8 #BE86D7

Accessibility & contrast

On white

6.60
#8738AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8738AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8738AB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8738AB#FFFFFF#000000##FFFFFF
##8738AB1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#315FA8
Tritanopia (blue-blind)
#834F6D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8738ab;
/* rgb */ color: rgb(135, 56, 171);
/* oklch */ color: oklch(50.1% 0.183 313.3);
Tailwind
colors: {
  custom: {
    50: '#ad74c5',
    500: '#8738ab',
    950: '#000000',
  },
}
SCSS
$custom: #8738ab;
$custom-light: #ad74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8738ab",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 281.217,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50072,
    "c": 0.18283,
    "h": 313.3
  },
  "luminance": 0.1092
}

Semantic roles & 50–950 ramp

primary
#8738AB
secondary
#93C17D
accent
#DA4E7A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8738AB

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

Preview Lab → · Contrast checker → · Palette generator →

#8738AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva