#8628C6#8628C6

#8628C6 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.3% C 0.226 H 306.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8628C6
RGBrgb(134, 40, 198)
HSLhsl(276, 66%, 47%)
HSVhsv(276, 80%, 78%)
CMYKcmyk(32.3%, 79.8%, 0%, 22.4%)
CIE-LABlab(39.01, 64.12, -63.84)
CIE-LCHlch(39.01, 90.48, 315.12°)
OKLaboklab(50.34% 0.1348 -0.1817)
OKLCHoklch(50.34% 0.226 306.6)
XYZxyz(20.7811, 10.6634, 54.3786)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8628C6 #68C628
analogous
#3728C6 #8628C6 #C628B7
triadic
#8628C6 #C68628 #28C686
tetradic
#8628C6 #C63728 #68C628 #28B7C6
square
#8628C6 #C63728 #68C628 #28B7C6
split-complementary
#8628C6 #B7C628 #28C637
monochromatic
#411360 #641E93 #8628C6 #A350DC #BE83E6

Accessibility & contrast

On white

6.70
#8628C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8628C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8628C6
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8628C6#FFFFFF#000000##FFFFFF
##8628C61.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CA
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#7B5278
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8628c6;
/* rgb */ color: rgb(134, 40, 198);
/* oklch */ color: oklch(50.3% 0.226 306.6);
Tailwind
colors: {
  custom: {
    50: '#af6ed8',
    500: '#8628c6',
    950: '#000000',
  },
}
SCSS
$custom: #8628c6;
$custom-light: #af6ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#8628c6",
  "rgb": {
    "r": 134,
    "g": 40,
    "b": 198
  },
  "hsl": {
    "h": 275.696,
    "s": 66.387,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50344,
    "c": 0.22627,
    "h": 306.6
  },
  "luminance": 0.10663
}

Semantic roles & 50–950 ramp

primary
#8628C6
secondary
#9DCF7B
accent
#E93E84
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8628C6

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

Preview Lab → · Contrast checker → · Palette generator →

#8628C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva