#8128C5#8128C5

#8128C5 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.6% C 0.224 H 304.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8128C5
RGBrgb(129, 40, 197)
HSLhsl(274, 66%, 46%)
HSVhsv(274, 80%, 77%)
CMYKcmyk(34.5%, 79.7%, 0%, 22.7%)
CIE-LABlab(38.23, 63.10, -64.56)
CIE-LCHlch(38.23, 90.27, 314.35°)
OKLaboklab(49.63% 0.1281 -0.184)
OKLCHoklch(49.63% 0.224 304.8)
XYZxyz(19.8878, 10.2160, 53.7367)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8128C5 #6CC528
analogous
#3328C5 #8128C5 #C528BB
triadic
#8128C5 #C58128 #28C581
tetradic
#8128C5 #C53328 #6CC528 #28BBC5
square
#8128C5 #C53328 #6CC528 #28BBC5
split-complementary
#8128C5 #BBC528 #28C533
monochromatic
#3E135F #601E92 #8128C5 #9E4FDB #BA82E6

Accessibility & contrast

On white

6.90
#8128C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8128C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8128C5
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8128C5#FFFFFF#000000##FFFFFF
##8128C51.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#745277
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8128c5;
/* rgb */ color: rgb(129, 40, 197);
/* oklch */ color: oklch(49.6% 0.224 304.8);
Tailwind
colors: {
  custom: {
    50: '#ac6dd8',
    500: '#8128c5',
    950: '#000000',
  },
}
SCSS
$custom: #8128c5;
$custom-light: #ac6dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8128c5",
  "rgb": {
    "r": 129,
    "g": 40,
    "b": 197
  },
  "hsl": {
    "h": 274.013,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49628,
    "c": 0.22423,
    "h": 304.8
  },
  "luminance": 0.10216
}

Semantic roles & 50–950 ramp

primary
#8128C5
secondary
#9FCE7A
accent
#E93F88
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110815
muted
#807A83

Preview Lab

Preview with #8128C5

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

Preview Lab → · Contrast checker → · Palette generator →

#8128C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva