#8738AA#8738AA

#8738AA is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.0% C 0.182 H 313.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8738AA
RGBrgb(135, 56, 170)
HSLhsl(282, 50%, 44%)
HSVhsv(282, 67%, 67%)
CMYKcmyk(20.6%, 67.1%, 0%, 33.3%)
CIE-LABlab(39.38, 51.89, -46.72)
CIE-LCHlch(39.38, 69.82, 318.00°)
OKLaboklab(50.01% 0.1255 -0.1315)
OKLCHoklch(50.01% 0.182 313.7)
XYZxyz(18.6603, 10.8821, 39.1399)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738AA #5BAA38
analogous
#4E38AA #8738AA #AA3894
triadic
#8738AA #AA8738 #38AA87
tetradic
#8738AA #AA4E38 #5BAA38 #3894AA
square
#8738AA #AA4E38 #5BAA38 #3894AA
split-complementary
#8738AA #94AA38 #38AA4E
monochromatic
#3E1A4E #62297C #8738AA #A557C8 #BE85D7

Accessibility & contrast

On white

6.61
#8738AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8738AA#FFFFFF#000000##FFFFFF
##8738AA1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#325FA7
Tritanopia (blue-blind)
#844E6C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8738aa;
/* rgb */ color: rgb(135, 56, 170);
/* oklch */ color: oklch(50.0% 0.182 313.7);
Tailwind
colors: {
  custom: {
    50: '#ad74c4',
    500: '#8738aa',
    950: '#000000',
  },
}
SCSS
$custom: #8738aa;
$custom-light: #ad74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8738aa",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 281.579,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50005,
    "c": 0.18183,
    "h": 313.7
  },
  "luminance": 0.10882
}

Semantic roles & 50–950 ramp

primary
#8738AA
secondary
#92C17D
accent
#DA4E79
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8738AA

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

Preview Lab → · Contrast checker → · Palette generator →

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