#8628C9#8628C9

#8628C9 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.6% C 0.229 H 305.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8628C9
RGBrgb(134, 40, 201)
HSLhsl(275, 67%, 47%)
HSVhsv(275, 80%, 79%)
CMYKcmyk(33.3%, 80.1%, 0%, 21.2%)
CIE-LABlab(39.25, 64.76, -65.20)
CIE-LCHlch(39.25, 91.90, 314.81°)
OKLaboklab(50.59% 0.134 -0.1857)
OKLCHoklch(50.59% 0.229 305.8)
XYZxyz(21.1306, 10.8031, 56.2190)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8628C9 #6BC928
analogous
#3528C9 #8628C9 #C928BC
triadic
#8628C9 #C98628 #28C986
tetradic
#8628C9 #C93528 #6BC928 #28BCC9
square
#8628C9 #C93528 #6BC928 #28BCC9
split-complementary
#8628C9 #BCC928 #28C935
monochromatic
#421463 #641E96 #8628C9 #A352DD #BE85E7

Accessibility & contrast

On white

6.64
#8628C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8628C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8628C9
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8628C9#FFFFFF#000000##FFFFFF
##8628C91.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#7A537A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8628c9;
/* rgb */ color: rgb(134, 40, 201);
/* oklch */ color: oklch(50.6% 0.229 305.8);
Tailwind
colors: {
  custom: {
    50: '#af6eda',
    500: '#8628c9',
    950: '#000000',
  },
}
SCSS
$custom: #8628c9;
$custom-light: #af6eda;
$custom-dark: #000000;
JSON
{
  "hex": "#8628c9",
  "rgb": {
    "r": 134,
    "g": 40,
    "b": 201
  },
  "hsl": {
    "h": 275.031,
    "s": 66.805,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50585,
    "c": 0.22902,
    "h": 305.8
  },
  "luminance": 0.10803
}

Semantic roles & 50–950 ramp

primary
#8628C9
secondary
#9FD07D
accent
#EA3E86
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8628C9

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

Preview Lab → · Contrast checker → · Palette generator →

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