#8628CC#8628CC

#8628CC is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.8% C 0.232 H 305.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8628CC
RGBrgb(134, 40, 204)
HSLhsl(274, 67%, 48%)
HSVhsv(274, 80%, 80%)
CMYKcmyk(34.3%, 80.4%, 0%, 20%)
CIE-LABlab(39.49, 65.41, -66.54)
CIE-LCHlch(39.49, 93.31, 314.51°)
OKLaboklab(50.83% 0.1332 -0.1897)
OKLCHoklch(50.83% 0.232 305.1)
XYZxyz(21.4869, 10.9457, 58.0958)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8628CC #6ECC28
analogous
#3428CC #8628CC #CC28C0
triadic
#8628CC #CC8628 #28CC86
tetradic
#8628CC #CC3428 #6ECC28 #28C0CC
square
#8628CC #CC3428 #6ECC28 #28C0CC
split-complementary
#8628CC #C0CC28 #28CC34
monochromatic
#431466 #641E99 #8628CC #A354DD #BE87E7

Accessibility & contrast

On white

6.58
#8628CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8628CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8628CC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8628CC#FFFFFF#000000##FFFFFF
##8628CC1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#79557B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8628cc;
/* rgb */ color: rgb(134, 40, 204);
/* oklch */ color: oklch(50.8% 0.232 305.1);
Tailwind
colors: {
  custom: {
    50: '#b06edd',
    500: '#8628cc',
    950: '#000000',
  },
}
SCSS
$custom: #8628cc;
$custom-light: #b06edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8628cc",
  "rgb": {
    "r": 134,
    "g": 40,
    "b": 204
  },
  "hsl": {
    "h": 274.39,
    "s": 67.213,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50828,
    "c": 0.23178,
    "h": 305.1
  },
  "luminance": 0.10946
}

Semantic roles & 50–950 ramp

primary
#8628CC
secondary
#A2D17F
accent
#EA3E87
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8628CC

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

Preview Lab → · Contrast checker → · Palette generator →

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