#8734A2#8734A2

#8734A2 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.0% C 0.179 H 316.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8734A2
RGBrgb(135, 52, 162)
HSLhsl(285, 51%, 42%)
HSVhsv(285, 68%, 64%)
CMYKcmyk(16.7%, 67.9%, 0%, 36.5%)
CIE-LABlab(38.23, 52.00, -43.78)
CIE-LCHlch(38.23, 67.98, 319.90°)
OKLaboklab(49.01% 0.1306 -0.1229)
OKLCHoklch(49.01% 0.179 316.7)
XYZxyz(17.7403, 10.2162, 35.2129)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8734A2 #4FA234
analogous
#5034A2 #8734A2 #A23486
triadic
#8734A2 #A28734 #34A287
tetradic
#8734A2 #A25034 #4FA234 #3486A2
square
#8734A2 #A25034 #4FA234 #3486A2
split-complementary
#8734A2 #86A234 #34A250
monochromatic
#3A1645 #602574 #8734A2 #A84DC6 #BF7CD5

Accessibility & contrast

On white

6.90
#8734A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8734A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8734A2
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8734A2#FFFFFF#000000##FFFFFF
##8734A21.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#355C9F
Tritanopia (blue-blind)
#864967
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8734a2;
/* rgb */ color: rgb(135, 52, 162);
/* oklch */ color: oklch(49.0% 0.179 316.7);
Tailwind
colors: {
  custom: {
    50: '#ad72be',
    500: '#8734a2',
    950: '#000000',
  },
}
SCSS
$custom: #8734a2;
$custom-light: #ad72be;
$custom-dark: #000000;
JSON
{
  "hex": "#8734a2",
  "rgb": {
    "r": 135,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 285.273,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49013,
    "c": 0.17931,
    "h": 316.7
  },
  "luminance": 0.10216
}

Semantic roles & 50–950 ramp

primary
#8734A2
secondary
#86BE74
accent
#DB4D70
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8734A2

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

Preview Lab → · Contrast checker → · Palette generator →

#8734A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva