#8628B7#8628B7

#8628B7 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.2% C 0.213 H 310.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8628B7
RGBrgb(134, 40, 183)
HSLhsl(279, 64%, 44%)
HSVhsv(279, 78%, 72%)
CMYKcmyk(26.8%, 78.1%, 0%, 28.2%)
CIE-LABlab(37.85, 60.93, -56.91)
CIE-LCHlch(37.85, 83.37, 316.95°)
OKLaboklab(49.17% 0.1383 -0.1614)
OKLCHoklch(49.17% 0.213 310.6)
XYZxyz(19.1359, 10.0053, 45.7137)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8628B7 #59B728
analogous
#3F28B7 #8628B7 #B728A0
triadic
#8628B7 #B78628 #28B786
tetradic
#8628B7 #B73F28 #59B728 #28A0B7
square
#8628B7 #B73F28 #59B728 #28A0B7
split-complementary
#8628B7 #A0B728 #28B73F
monochromatic
#3C1253 #611D85 #8628B7 #A546D6 #BD78E1

Accessibility & contrast

On white

7.00
#8628B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8628B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8628B7
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8628B7#FFFFFF#000000##FFFFFF
##8628B71.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#7F4B6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8628b7;
/* rgb */ color: rgb(134, 40, 183);
/* oklch */ color: oklch(49.2% 0.213 310.6);
Tailwind
colors: {
  custom: {
    50: '#ae6dcd',
    500: '#8628b7',
    950: '#000000',
  },
}
SCSS
$custom: #8628b7;
$custom-light: #ae6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8628b7",
  "rgb": {
    "r": 134,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 279.441,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49174,
    "c": 0.21255,
    "h": 310.6
  },
  "luminance": 0.10005
}

Semantic roles & 50–950 ramp

primary
#8628B7
secondary
#90C972
accent
#E7417A
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8628B7

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

Preview Lab → · Contrast checker → · Palette generator →

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