#8138AE#8138AE

#8138AE is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.184 H 309.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8138AE
RGBrgb(129, 56, 174)
HSLhsl(277, 51%, 45%)
HSVhsv(277, 68%, 68%)
CMYKcmyk(25.9%, 67.8%, 0%, 31.8%)
CIE-LABlab(38.82, 51.42, -50.05)
CIE-LCHlch(38.82, 71.76, 315.77°)
OKLaboklab(49.51% 0.1174 -0.1415)
OKLCHoklch(49.51% 0.184 309.7)
XYZxyz(18.1059, 10.5518, 41.1191)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8138AE #65AE38
analogous
#4638AE #8138AE #AE38A0
triadic
#8138AE #AE8138 #38AE81
tetradic
#8138AE #AE4638 #65AE38 #38A0AE
square
#8138AE #AE4638 #65AE38 #38A0AE
split-complementary
#8138AE #A0AE38 #38AE46
monochromatic
#3C1A51 #5F2980 #8138AE #9F59CA #BA88D9

Accessibility & contrast

On white

6.75
#8138AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8138AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8138AE
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8138AE#FFFFFF#000000##FFFFFF
##8138AE1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#255CAB
Tritanopia (blue-blind)
#7B516E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8138ae;
/* rgb */ color: rgb(129, 56, 174);
/* oklch */ color: oklch(49.5% 0.184 309.7);
Tailwind
colors: {
  custom: {
    50: '#a974c7',
    500: '#8138ae',
    950: '#000000',
  },
}
SCSS
$custom: #8138ae;
$custom-light: #a974c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8138ae",
  "rgb": {
    "r": 129,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 277.119,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49508,
    "c": 0.18384,
    "h": 309.7
  },
  "luminance": 0.10551
}

Semantic roles & 50–950 ramp

primary
#8138AE
secondary
#99C37F
accent
#DB4D83
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8138AE

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

Preview Lab → · Contrast checker → · Palette generator →

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