#8628BA#8628BA

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

Color values

HEX#8628BA
RGBrgb(134, 40, 186)
HSLhsl(279, 65%, 44%)
HSVhsv(279, 78%, 73%)
CMYKcmyk(28%, 78.5%, 0%, 27.1%)
CIE-LABlab(38.08, 61.56, -58.32)
CIE-LCHlch(38.08, 84.79, 316.55°)
OKLaboklab(49.4% 0.1377 -0.1655)
OKLCHoklch(49.4% 0.215 309.8)
XYZxyz(19.4515, 10.1315, 47.3757)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8628BA #5CBA28
analogous
#3D28BA #8628BA #BA28A5
triadic
#8628BA #BA8628 #28BA86
tetradic
#8628BA #BA3D28 #5CBA28 #28A5BA
square
#8628BA #BA3D28 #5CBA28 #28A5BA
split-complementary
#8628BA #A5BA28 #28BA3D
monochromatic
#3D1255 #621D88 #8628BA #A448D8 #BD7AE2

Accessibility & contrast

On white

6.94
#8628BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8628BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8628BA
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8628BA#FFFFFF#000000##FFFFFF
##8628BA1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#7E4D71
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8628ba;
/* rgb */ color: rgb(134, 40, 186);
/* oklch */ color: oklch(49.4% 0.215 309.8);
Tailwind
colors: {
  custom: {
    50: '#ae6dd0',
    500: '#8628ba',
    950: '#000000',
  },
}
SCSS
$custom: #8628ba;
$custom-light: #ae6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8628ba",
  "rgb": {
    "r": 134,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 278.63,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49403,
    "c": 0.21529,
    "h": 309.8
  },
  "luminance": 0.10131
}

Semantic roles & 50–950 ramp

primary
#8628BA
secondary
#92CA73
accent
#E8407C
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8628BA

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

Preview Lab → · Contrast checker → · Palette generator →

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