#8738AD#8738AD

#8738AD is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.2% C 0.185 H 312.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8738AD
RGBrgb(135, 56, 173)
HSLhsl(281, 51%, 45%)
HSVhsv(281, 68%, 68%)
CMYKcmyk(22%, 67.6%, 0%, 32.2%)
CIE-LABlab(39.58, 52.53, -48.19)
CIE-LCHlch(39.58, 71.29, 317.47°)
OKLaboklab(50.21% 0.1253 -0.1358)
OKLCHoklch(50.21% 0.185 312.7)
XYZxyz(18.9473, 10.9969, 40.6516)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8738AD #5EAD38
analogous
#4D38AD #8738AD #AD3899
triadic
#8738AD #AD8738 #38AD87
tetradic
#8738AD #AD4D38 #5EAD38 #3899AD
square
#8738AD #AD4D38 #5EAD38 #3899AD
split-complementary
#8738AD #99AD38 #38AD4D
monochromatic
#3F1A51 #63297F #8738AD #A559C9 #BE87D8

Accessibility & contrast

On white

6.56
#8738AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8738AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8738AD#FFFFFF#000000##FFFFFF
##8738AD1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#2E5FAA
Tritanopia (blue-blind)
#83506E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8738ad;
/* rgb */ color: rgb(135, 56, 173);
/* oklch */ color: oklch(50.2% 0.185 312.7);
Tailwind
colors: {
  custom: {
    50: '#ae75c6',
    500: '#8738ad',
    950: '#000000',
  },
}
SCSS
$custom: #8738ad;
$custom-light: #ae75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8738ad",
  "rgb": {
    "r": 135,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 280.513,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50206,
    "c": 0.18484,
    "h": 312.7
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#8738AD
secondary
#95C27F
accent
#DB4D7B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8738AD

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

Preview Lab → · Contrast checker → · Palette generator →

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