#8628B2#8628B2

#8628B2 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.208 H 312.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8628B2
RGBrgb(134, 40, 178)
HSLhsl(281, 63%, 43%)
HSVhsv(281, 78%, 70%)
CMYKcmyk(24.7%, 77.5%, 0%, 30.2%)
CIE-LABlab(37.48, 59.89, -54.55)
CIE-LCHlch(37.48, 81.01, 317.67°)
OKLaboklab(48.8% 0.1393 -0.1544)
OKLCHoklch(48.8% 0.208 312.1)
XYZxyz(18.6247, 9.8008, 43.0215)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8628B2 #54B228
analogous
#4128B2 #8628B2 #B22899
triadic
#8628B2 #B28628 #28B286
tetradic
#8628B2 #B24128 #54B228 #2899B2
square
#8628B2 #B24128 #54B228 #2899B2
split-complementary
#8628B2 #99B228 #28B241
monochromatic
#3B124E #601D80 #8628B2 #A643D5 #BE75E0

Accessibility & contrast

On white

7.09
#8628B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8628B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8628B2
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8628B2#FFFFFF#000000##FFFFFF
##8628B21.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0E5AAF
Tritanopia (blue-blind)
#81496C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8628b2;
/* rgb */ color: rgb(134, 40, 178);
/* oklch */ color: oklch(48.8% 0.208 312.1);
Tailwind
colors: {
  custom: {
    50: '#ae6dca',
    500: '#8628b2',
    950: '#000000',
  },
}
SCSS
$custom: #8628b2;
$custom-light: #ae6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#8628b2",
  "rgb": {
    "r": 134,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 280.87,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48798,
    "c": 0.20799,
    "h": 312.1
  },
  "luminance": 0.098
}

Semantic roles & 50–950 ramp

primary
#8628B2
secondary
#8BC76F
accent
#E64176
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8628B2

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

Preview Lab → · Contrast checker → · Palette generator →

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