#8628A2#8628A2

#8628A2 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.194 H 317.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8628A2
RGBrgb(134, 40, 162)
HSLhsl(286, 60%, 40%)
HSVhsv(286, 75%, 64%)
CMYKcmyk(17.3%, 75.3%, 0%, 36.5%)
CIE-LABlab(36.36, 56.64, -46.80)
CIE-LCHlch(36.36, 73.47, 320.44°)
OKLaboklab(47.65% 0.1419 -0.1317)
OKLCHoklch(47.65% 0.194 317.1)
XYZxyz(17.1109, 9.1953, 35.0490)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8628A2 #44A228
analogous
#4928A2 #8628A2 #A22881
triadic
#8628A2 #A28628 #28A286
tetradic
#8628A2 #A24928 #44A228 #2881A2
square
#8628A2 #A24928 #44A228 #2881A2
split-complementary
#8628A2 #81A228 #28A249
monochromatic
#351040 #5D1C71 #8628A2 #AC39CE #C16ADA

Accessibility & contrast

On white

7.40
#8628A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8628A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8628A2
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8628A2#FFFFFF#000000##FFFFFF
##8628A21.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#2A589F
Tritanopia (blue-blind)
#854263
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8628a2;
/* rgb */ color: rgb(134, 40, 162);
/* oklch */ color: oklch(47.6% 0.194 317.1);
Tailwind
colors: {
  custom: {
    50: '#ad6cbe',
    500: '#8628a2',
    950: '#000000',
  },
}
SCSS
$custom: #8628a2;
$custom-light: #ad6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8628a2",
  "rgb": {
    "r": 134,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 286.23,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47648,
    "c": 0.19354,
    "h": 317.1
  },
  "luminance": 0.09195
}

Semantic roles & 50–950 ramp

primary
#8628A2
secondary
#7AC165
accent
#E44469
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8628A2

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

Preview Lab → · Contrast checker → · Palette generator →

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