#8127AF#8127AF

#8127AF is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.205 H 310.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8127AF
RGBrgb(129, 39, 175)
HSLhsl(280, 64%, 42%)
HSVhsv(280, 78%, 69%)
CMYKcmyk(26.3%, 77.7%, 0%, 31.4%)
CIE-LABlab(36.39, 58.70, -54.57)
CIE-LCHlch(36.39, 80.14, 317.09°)
OKLaboklab(47.81% 0.1342 -0.1546)
OKLCHoklch(47.81% 0.205 310.9)
XYZxyz(17.5152, 9.2137, 41.4049)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8127AF #55AF27
analogous
#3D27AF #8127AF #AF2799
triadic
#8127AF #AF8127 #27AF81
tetradic
#8127AF #AF3D27 #55AF27 #2799AF
square
#8127AF #AF3D27 #55AF27 #2799AF
split-complementary
#8127AF #99AF27 #27AF3D
monochromatic
#37114B #5C1C7D #8127AF #A23FD4 #BA71DF

Accessibility & contrast

On white

7.39
#8127AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8127AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8127AF
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8127AF#FFFFFF#000000##FFFFFF
##8127AF1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0157AC
Tritanopia (blue-blind)
#7B486A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8127af;
/* rgb */ color: rgb(129, 39, 175);
/* oklch */ color: oklch(47.8% 0.205 310.9);
Tailwind
colors: {
  custom: {
    50: '#aa6cc8',
    500: '#8127af',
    950: '#000000',
  },
}
SCSS
$custom: #8127af;
$custom-light: #aa6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8127af",
  "rgb": {
    "r": 129,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 279.706,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4781,
    "c": 0.20473,
    "h": 310.9
  },
  "luminance": 0.09213
}

Semantic roles & 50–950 ramp

primary
#8127AF
secondary
#8AC66B
accent
#E74179
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8127AF

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

Preview Lab → · Contrast checker → · Palette generator →

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