#8139CA#8139CA

#8139CA is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.7% C 0.212 H 302.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8139CA
RGBrgb(129, 57, 202)
HSLhsl(270, 58%, 51%)
HSVhsv(270, 72%, 79%)
CMYKcmyk(36.1%, 71.8%, 0%, 20.8%)
CIE-LABlab(40.99, 57.46, -62.97)
CIE-LCHlch(40.99, 85.25, 312.38°)
OKLaboklab(51.69% 0.1124 -0.1795)
OKLCHoklch(51.69% 0.212 302)
XYZxyz(21.1745, 11.8576, 57.0389)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8139CA #82CA39
analogous
#3939CA #8139CA #C939CA
triadic
#8139CA #CA8139 #39CA81
tetradic
#8139CA #CA3939 #82CA39 #39CAC9
square
#8139CA #CA3939 #82CA39 #39CAC9
split-complementary
#8139CA #CAC939 #39CA39
monochromatic
#441D6C #632A9C #8139CA #A069D7 #BE9AE4

Accessibility & contrast

On white

6.23
#8139CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8139CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8139CA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8139CA#FFFFFF#000000##FFFFFF
##8139CA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#725C7E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8139ca;
/* rgb */ color: rgb(129, 57, 202);
/* oklch */ color: oklch(51.7% 0.212 302.0);
Tailwind
colors: {
  custom: {
    50: '#ab76db',
    500: '#8139ca',
    950: '#000000',
  },
}
SCSS
$custom: #8139ca;
$custom-light: #ab76db;
$custom-dark: #000000;
JSON
{
  "hex": "#8139ca",
  "rgb": {
    "r": 129,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 269.793,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51692,
    "c": 0.21173,
    "h": 302
  },
  "luminance": 0.11858
}

Semantic roles & 50–950 ramp

primary
#8139CA
secondary
#B0D08F
accent
#E14794
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8139CA

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

Preview Lab → · Contrast checker → · Palette generator →

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