#8628BC#8628BC

#8628BC is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.6% C 0.217 H 309.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8628BC
RGBrgb(134, 40, 188)
HSLhsl(278, 65%, 45%)
HSVhsv(278, 79%, 74%)
CMYKcmyk(28.7%, 78.7%, 0%, 26.3%)
CIE-LABlab(38.23, 61.98, -59.25)
CIE-LCHlch(38.23, 85.74, 316.29°)
OKLaboklab(49.56% 0.1372 -0.1682)
OKLCHoklch(49.56% 0.217 309.2)
XYZxyz(19.6656, 10.2171, 48.5033)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8628BC #5EBC28
analogous
#3C28BC #8628BC #BC28A8
triadic
#8628BC #BC8628 #28BC86
tetradic
#8628BC #BC3C28 #5EBC28 #28A8BC
square
#8628BC #BC3C28 #5EBC28 #28A8BC
split-complementary
#8628BC #A8BC28 #28BC3C
monochromatic
#3E1357 #621D8A #8628BC #A449D8 #BD7BE3

Accessibility & contrast

On white

6.90
#8628BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8628BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8628BC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8628BC#FFFFFF#000000##FFFFFF
##8628BC1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#7E4E72
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8628bc;
/* rgb */ color: rgb(134, 40, 188);
/* oklch */ color: oklch(49.6% 0.217 309.2);
Tailwind
colors: {
  custom: {
    50: '#af6dd1',
    500: '#8628bc',
    950: '#000000',
  },
}
SCSS
$custom: #8628bc;
$custom-light: #af6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8628bc",
  "rgb": {
    "r": 134,
    "g": 40,
    "b": 188
  },
  "hsl": {
    "h": 278.108,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49557,
    "c": 0.21712,
    "h": 309.2
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

primary
#8628BC
secondary
#94CB75
accent
#E8407D
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8628BC

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

Preview Lab → · Contrast checker → · Palette generator →

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