#8734B2#8734B2

#8734B2 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.1% C 0.195 H 311.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8734B2
RGBrgb(135, 52, 178)
HSLhsl(280, 55%, 45%)
HSVhsv(280, 71%, 70%)
CMYKcmyk(24.2%, 70.8%, 0%, 30.2%)
CIE-LABlab(39.28, 55.38, -51.64)
CIE-LCHlch(39.28, 75.72, 317.00°)
OKLaboklab(50.1% 0.1292 -0.1459)
OKLCHoklch(50.1% 0.195 311.5)
XYZxyz(19.2540, 10.8217, 43.1854)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8734B2 #5FB234
analogous
#4834B2 #8734B2 #B2349E
triadic
#8734B2 #B28734 #34B287
tetradic
#8734B2 #B24834 #5FB234 #349EB2
square
#8734B2 #B24834 #5FB234 #349EB2
split-complementary
#8734B2 #9EB234 #34B248
monochromatic
#3F1853 #632683 #8734B2 #A556CE #BE85DB

Accessibility & contrast

On white

6.64
#8734B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8734B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8734B2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8734B2#FFFFFF#000000##FFFFFF
##8734B21.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#235EAF
Tritanopia (blue-blind)
#824F6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8734b2;
/* rgb */ color: rgb(135, 52, 178);
/* oklch */ color: oklch(50.1% 0.195 311.5);
Tailwind
colors: {
  custom: {
    50: '#ae73ca',
    500: '#8734b2',
    950: '#000000',
  },
}
SCSS
$custom: #8734b2;
$custom-light: #ae73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8734b2",
  "rgb": {
    "r": 135,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 279.524,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.501,
    "c": 0.19491,
    "h": 311.5
  },
  "luminance": 0.10821
}

Semantic roles & 50–950 ramp

primary
#8734B2
secondary
#95C57D
accent
#DE4A7C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8734B2

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

Preview Lab → · Contrast checker → · Palette generator →

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