#8138AD#8138AD

#8138AD is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.4% C 0.183 H 310.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8138AD
RGBrgb(129, 56, 173)
HSLhsl(277, 51%, 45%)
HSVhsv(277, 68%, 68%)
CMYKcmyk(25.4%, 67.6%, 0%, 32.2%)
CIE-LABlab(38.75, 51.20, -49.57)
CIE-LCHlch(38.75, 71.26, 315.93°)
OKLaboklab(49.44% 0.1175 -0.1401)
OKLCHoklch(49.44% 0.183 310)
XYZxyz(18.0088, 10.5130, 40.6076)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8138AD #64AD38
analogous
#4738AD #8138AD #AD389F
triadic
#8138AD #AD8138 #38AD81
tetradic
#8138AD #AD4738 #64AD38 #389FAD
square
#8138AD #AD4738 #64AD38 #389FAD
split-complementary
#8138AD #9FAD38 #38AD47
monochromatic
#3C1A51 #5F297F #8138AD #9F59C9 #BA87D8

Accessibility & contrast

On white

6.77
#8138AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8138AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8138AD
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8138AD#FFFFFF#000000##FFFFFF
##8138AD1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B0
Deuteranopia (green-blind)
#265CAA
Tritanopia (blue-blind)
#7B516E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8138ad;
/* rgb */ color: rgb(129, 56, 173);
/* oklch */ color: oklch(49.4% 0.183 310.0);
Tailwind
colors: {
  custom: {
    50: '#a974c6',
    500: '#8138ad',
    950: '#000000',
  },
}
SCSS
$custom: #8138ad;
$custom-light: #a974c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8138ad",
  "rgb": {
    "r": 129,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 277.436,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49438,
    "c": 0.18281,
    "h": 310
  },
  "luminance": 0.10513
}

Semantic roles & 50–950 ramp

primary
#8138AD
secondary
#98C27F
accent
#DB4D82
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8138AD

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

Preview Lab → · Contrast checker → · Palette generator →

#8138AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva