#8726C5#8726C5

#8726C5 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.2% C 0.227 H 307.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8726C5
RGBrgb(135, 38, 197)
HSLhsl(277, 68%, 46%)
HSVhsv(277, 81%, 77%)
CMYKcmyk(31.5%, 80.7%, 0%, 22.7%)
CIE-LABlab(38.84, 64.72, -63.51)
CIE-LCHlch(38.84, 90.68, 315.54°)
OKLaboklab(50.24% 0.1379 -0.1807)
OKLCHoklch(50.24% 0.227 307.3)
XYZxyz(20.7607, 10.5686, 53.7588)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8726C5 #64C526
analogous
#3726C5 #8726C5 #C526B3
triadic
#8726C5 #C58726 #26C587
tetradic
#8726C5 #C53726 #64C526 #26B3C5
square
#8726C5 #C53726 #64C526 #26B3C5
split-complementary
#8726C5 #B3C526 #26C537
monochromatic
#41125E #641C92 #8726C5 #A44CDC #BE7FE6

Accessibility & contrast

On white

6.74
#8726C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8726C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8726C5
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8726C5#FFFFFF#000000##FFFFFF
##8726C51.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#005CC2
Tritanopia (blue-blind)
#7C5177
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8726c5;
/* rgb */ color: rgb(135, 38, 197);
/* oklch */ color: oklch(50.2% 0.227 307.3);
Tailwind
colors: {
  custom: {
    50: '#b06dd8',
    500: '#8726c5',
    950: '#000000',
  },
}
SCSS
$custom: #8726c5;
$custom-light: #b06dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8726c5",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 197
  },
  "hsl": {
    "h": 276.604,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50235,
    "c": 0.22735,
    "h": 307.3
  },
  "luminance": 0.10568
}

Semantic roles & 50–950 ramp

primary
#8726C5
secondary
#9ACF78
accent
#EB3D81
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #8726C5

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

Preview Lab → · Contrast checker → · Palette generator →

#8726C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva