#8726C1#8726C1

#8726C1 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.9% C 0.224 H 308.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8726C1
RGBrgb(135, 38, 193)
HSLhsl(278, 67%, 45%)
HSVhsv(278, 80%, 76%)
CMYKcmyk(30.1%, 80.3%, 0%, 24.3%)
CIE-LABlab(38.53, 63.88, -61.69)
CIE-LCHlch(38.53, 88.80, 316.00°)
OKLaboklab(49.92% 0.1389 -0.1754)
OKLCHoklch(49.92% 0.224 308.4)
XYZxyz(20.3084, 10.3877, 51.3769)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8726C1 #60C126
analogous
#3926C1 #8726C1 #C126AE
triadic
#8726C1 #C18726 #26C187
tetradic
#8726C1 #C13926 #60C126 #26AEC1
square
#8726C1 #C13926 #60C126 #26AEC1
split-complementary
#8726C1 #AEC126 #26C139
monochromatic
#3F125B #631C8E #8726C1 #A449DB #BE7CE5

Accessibility & contrast

On white

6.82
#8726C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8726C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8726C1
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8726C1#FFFFFF#000000##FFFFFF
##8726C11.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#7E4F75
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8726c1;
/* rgb */ color: rgb(135, 38, 193);
/* oklch */ color: oklch(49.9% 0.224 308.4);
Tailwind
colors: {
  custom: {
    50: '#b06dd5',
    500: '#8726c1',
    950: '#000000',
  },
}
SCSS
$custom: #8726c1;
$custom-light: #b06dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8726c1",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 193
  },
  "hsl": {
    "h": 277.548,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49917,
    "c": 0.22374,
    "h": 308.4
  },
  "luminance": 0.10387
}

Semantic roles & 50–950 ramp

primary
#8726C1
secondary
#96CD75
accent
#EA3E7E
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8726C1

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

Preview Lab → · Contrast checker → · Palette generator →

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