#8138A7#8138A7

#8138A7 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.177 H 311.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8138A7
RGBrgb(129, 56, 167)
HSLhsl(279, 50%, 44%)
HSVhsv(279, 66%, 65%)
CMYKcmyk(22.8%, 66.5%, 0%, 34.5%)
CIE-LABlab(38.35, 49.86, -46.63)
CIE-LCHlch(38.35, 68.27, 316.92°)
OKLaboklab(49.03% 0.1179 -0.1314)
OKLCHoklch(49.03% 0.177 311.9)
XYZxyz(17.4412, 10.2859, 37.6183)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8138A7 #5EA738
analogous
#4938A7 #8138A7 #A73895
triadic
#8138A7 #A78138 #38A781
tetradic
#8138A7 #A74938 #5EA738 #3895A7
square
#8138A7 #A74938 #5EA738 #3895A7
split-complementary
#8138A7 #95A738 #38A749
monochromatic
#3A194B #5E2979 #8138A7 #A056C6 #BA84D6

Accessibility & contrast

On white

6.87
#8138A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8138A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8138A7
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8138A7#FFFFFF#000000##FFFFFF
##8138A71.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#2D5CA4
Tritanopia (blue-blind)
#7D4E6B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8138a7;
/* rgb */ color: rgb(129, 56, 167);
/* oklch */ color: oklch(49.0% 0.177 311.9);
Tailwind
colors: {
  custom: {
    50: '#a974c2',
    500: '#8138a7',
    950: '#000000',
  },
}
SCSS
$custom: #8138a7;
$custom-light: #a974c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8138a7",
  "rgb": {
    "r": 129,
    "g": 56,
    "b": 167
  },
  "hsl": {
    "h": 279.459,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49026,
    "c": 0.17659,
    "h": 311.9
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#8138A7
secondary
#93BF7B
accent
#D94F7E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8138A7

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

Preview Lab → · Contrast checker → · Palette generator →

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