#8628B3#8628B3

#8628B3 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.9% C 0.209 H 311.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8628B3
RGBrgb(134, 40, 179)
HSLhsl(281, 63%, 43%)
HSVhsv(281, 78%, 70%)
CMYKcmyk(25.1%, 77.7%, 0%, 29.8%)
CIE-LABlab(37.56, 60.10, -55.02)
CIE-LCHlch(37.56, 81.48, 317.52°)
OKLaboklab(48.87% 0.1391 -0.1558)
OKLCHoklch(48.87% 0.209 311.8)
XYZxyz(18.7255, 9.8411, 43.5522)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8628B3 #55B328
analogous
#4128B3 #8628B3 #B3289A
triadic
#8628B3 #B38628 #28B386
tetradic
#8628B3 #B34128 #55B328 #289AB3
square
#8628B3 #B34128 #55B328 #289AB3
split-complementary
#8628B3 #9AB328 #28B341
monochromatic
#3B124F #611D81 #8628B3 #A643D5 #BE75E0

Accessibility & contrast

On white

7.07
#8628B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8628B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8628B3
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8628B3#FFFFFF#000000##FFFFFF
##8628B31.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0A5AB0
Tritanopia (blue-blind)
#804A6D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8628b3;
/* rgb */ color: rgb(134, 40, 179);
/* oklch */ color: oklch(48.9% 0.209 311.8);
Tailwind
colors: {
  custom: {
    50: '#ae6dcb',
    500: '#8628b3',
    950: '#000000',
  },
}
SCSS
$custom: #8628b3;
$custom-light: #ae6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8628b3",
  "rgb": {
    "r": 134,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 280.576,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48873,
    "c": 0.20891,
    "h": 311.8
  },
  "luminance": 0.09841
}

Semantic roles & 50–950 ramp

primary
#8628B3
secondary
#8CC86F
accent
#E64177
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8628B3

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

Preview Lab → · Contrast checker → · Palette generator →

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