#8139CB#8139CB

#8139CB is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.8% C 0.213 H 301.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8139CB
RGBrgb(129, 57, 203)
HSLhsl(270, 58%, 51%)
HSVhsv(270, 72%, 80%)
CMYKcmyk(36.5%, 71.9%, 0%, 20.4%)
CIE-LABlab(41.06, 57.70, -63.42)
CIE-LCHlch(41.06, 85.75, 312.30°)
OKLaboklab(51.77% 0.1122 -0.1808)
OKLCHoklch(51.77% 0.213 301.8)
XYZxyz(21.2933, 11.9051, 57.6644)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8139CB #83CB39
analogous
#393ACB #8139CB #CA39CB
triadic
#8139CB #CB8139 #39CB81
tetradic
#8139CB #CB393A #83CB39 #39CBCA
square
#8139CB #CB393A #83CB39 #39CBCA
split-complementary
#8139CB #CBCA39 #3ACB39
monochromatic
#441D6D #63299D #8139CB #A069D8 #BF9AE4

Accessibility & contrast

On white

6.21
#8139CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8139CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8139CB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8139CB#FFFFFF#000000##FFFFFF
##8139CB1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#715D7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8139cb;
/* rgb */ color: rgb(129, 57, 203);
/* oklch */ color: oklch(51.8% 0.213 301.8);
Tailwind
colors: {
  custom: {
    50: '#ac76dc',
    500: '#8139cb',
    950: '#000000',
  },
}
SCSS
$custom: #8139cb;
$custom-light: #ac76dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8139cb",
  "rgb": {
    "r": 129,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 269.589,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51769,
    "c": 0.21276,
    "h": 301.8
  },
  "luminance": 0.11905
}

Semantic roles & 50–950 ramp

primary
#8139CB
secondary
#B0D090
accent
#E24695
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8139CB

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

Preview Lab → · Contrast checker → · Palette generator →

#8139CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva