#8726BA#8726BA

#8726BA is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.4% C 0.217 H 310.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8726BA
RGBrgb(135, 38, 186)
HSLhsl(279, 66%, 44%)
HSVhsv(279, 80%, 73%)
CMYKcmyk(27.4%, 79.6%, 0%, 27.1%)
CIE-LABlab(37.99, 62.41, -58.45)
CIE-LCHlch(37.99, 85.51, 316.88°)
OKLaboklab(49.37% 0.1406 -0.1658)
OKLCHoklch(49.37% 0.217 310.3)
XYZxyz(19.5460, 10.0827, 47.3614)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8726BA #59BA26
analogous
#3D26BA #8726BA #BA26A3
triadic
#8726BA #BA8726 #26BA87
tetradic
#8726BA #BA3D26 #59BA26 #26A3BA
square
#8726BA #BA3D26 #59BA26 #26A3BA
split-complementary
#8726BA #A3BA26 #26BA3D
monochromatic
#3D1154 #621C87 #8726BA #A644D9 #BE77E3

Accessibility & contrast

On white

6.96
#8726BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8726BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8726BA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8726BA#FFFFFF#000000##FFFFFF
##8726BA1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#804C71
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8726ba;
/* rgb */ color: rgb(135, 38, 186);
/* oklch */ color: oklch(49.4% 0.217 310.3);
Tailwind
colors: {
  custom: {
    50: '#af6dd0',
    500: '#8726ba',
    950: '#000000',
  },
}
SCSS
$custom: #8726ba;
$custom-light: #af6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8726ba",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 279.324,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49372,
    "c": 0.21743,
    "h": 310.3
  },
  "luminance": 0.10082
}

Semantic roles & 50–950 ramp

primary
#8726BA
secondary
#90CB71
accent
#E93F79
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8726BA

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

Preview Lab → · Contrast checker → · Palette generator →

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