#8138AF#8138AF

#8138AF is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.6% C 0.185 H 309.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#8138AF
RGBrgb(129, 56, 175)
HSLhsl(277, 52%, 45%)
HSVhsv(277, 68%, 69%)
CMYKcmyk(26.3%, 68%, 0%, 31.4%)
CIE-LABlab(38.88, 51.65, -50.54)
CIE-LCHlch(38.88, 72.26, 315.62°)
OKLaboklab(49.58% 0.1173 -0.1429)
OKLCHoklch(49.58% 0.185 309.4)
XYZxyz(18.2038, 10.5910, 41.6344)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8138AF #66AF38
analogous
#4638AF #8138AF #AF38A1
triadic
#8138AF #AF8138 #38AF81
tetradic
#8138AF #AF4638 #66AF38 #38A1AF
square
#8138AF #AF4638 #66AF38 #38A1AF
split-complementary
#8138AF #A1AF38 #38AF46
monochromatic
#3D1A52 #5F2981 #8138AF #9F5ACA #BA88D9

Accessibility & contrast

On white

6.73
#8138AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8138AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8138AF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8138AF#FFFFFF#000000##FFFFFF
##8138AF1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#235DAC
Tritanopia (blue-blind)
#7A516F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8138af;
/* rgb */ color: rgb(129, 56, 175);
/* oklch */ color: oklch(49.6% 0.185 309.4);
Tailwind
colors: {
  custom: {
    50: '#aa74c8',
    500: '#8138af',
    950: '#000000',
  },
}
SCSS
$custom: #8138af;
$custom-light: #aa74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8138af",
  "rgb": {
    "r": 129,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 276.807,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49578,
    "c": 0.18488,
    "h": 309.4
  },
  "luminance": 0.10591
}

Semantic roles & 50–950 ramp

primary
#8138AF
secondary
#9AC380
accent
#DB4D84
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8138AF

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

Preview Lab → · Contrast checker → · Palette generator →

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