#8738AC#8738AC

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

Color values

HEX#8738AC
RGBrgb(135, 56, 172)
HSLhsl(281, 51%, 45%)
HSVhsv(281, 67%, 67%)
CMYKcmyk(21.5%, 67.4%, 0%, 32.5%)
CIE-LABlab(39.51, 52.32, -47.70)
CIE-LCHlch(39.51, 70.80, 317.64°)
OKLaboklab(50.14% 0.1254 -0.1344)
OKLCHoklch(50.14% 0.184 313)
XYZxyz(18.8509, 10.9583, 40.1439)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738AC #5DAC38
analogous
#4D38AC #8738AC #AC3897
triadic
#8738AC #AC8738 #38AC87
tetradic
#8738AC #AC4D38 #5DAC38 #3897AC
square
#8738AC #AC4D38 #5DAC38 #3897AC
split-complementary
#8738AC #97AC38 #38AC4D
monochromatic
#3F1A50 #63297E #8738AC #A558C9 #BE87D8

Accessibility & contrast

On white

6.58
#8738AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8738AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8738AC#FFFFFF#000000##FFFFFF
##8738AC1.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)
#0059AF
Deuteranopia (green-blind)
#2F5FA9
Tritanopia (blue-blind)
#834F6D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8738ac;
/* rgb */ color: rgb(135, 56, 172);
/* oklch */ color: oklch(50.1% 0.184 313.0);
Tailwind
colors: {
  custom: {
    50: '#ae75c5',
    500: '#8738ac',
    950: '#000000',
  },
}
SCSS
$custom: #8738ac;
$custom-light: #ae75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8738ac",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 280.862,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50139,
    "c": 0.18383,
    "h": 313
  },
  "luminance": 0.10958
}

Semantic roles & 50–950 ramp

primary
#8738AC
secondary
#94C27E
accent
#DA4D7A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8738AC

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

Preview Lab → · Contrast checker → · Palette generator →

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