#8271AE#8271AE

#8271AE is a mid, moderate violet. Relative luminance 0.196; OKLCH L 58.9% C 0.093 H 296.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8271AE
RGBrgb(130, 113, 174)
HSLhsl(257, 27%, 56%)
HSVhsv(257, 35%, 68%)
CMYKcmyk(25.3%, 35.1%, 0%, 31.8%)
CIE-LABlab(51.40, 19.94, -30.11)
CIE-LCHlch(51.40, 36.11, 303.52°)
OKLaboklab(58.88% 0.0412 -0.0836)
OKLCHoklch(58.88% 0.093 296.2)
XYZxyz(22.7492, 19.6119, 42.6231)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271AE #9DAE71
analogous
#717FAE #8271AE #A171AE
triadic
#8271AE #AE8271 #71AE82
tetradic
#8271AE #AE717F #9DAE71 #71AEA1
square
#8271AE #AE717F #9DAE71 #71AEA1
split-complementary
#8271AE #AEA171 #7FAE71
monochromatic
#483C69 #635290 #8271AE #A498C4 #C7BFDA

Accessibility & contrast

On white

4.27
#8271AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8271AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271AE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271AE#FFFFFF#000000##000000
##8271AE1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#627BB0
Deuteranopia (green-blind)
#647AAC
Tritanopia (blue-blind)
#797B87
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8271ae;
/* rgb */ color: rgb(130, 113, 174);
/* oklch */ color: oklch(58.9% 0.093 296.2);
Tailwind
colors: {
  custom: {
    50: '#a79ac6',
    500: '#8271ae',
    950: '#000000',
  },
}
SCSS
$custom: #8271ae;
$custom-light: #a79ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#8271ae",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 174
  },
  "hsl": {
    "h": 256.721,
    "s": 27.354,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58881,
    "c": 0.09317,
    "h": 296.2
  },
  "luminance": 0.19612
}

Semantic roles & 50–950 ramp

primary
#8271AE
secondary
#C3CAB1
accent
#C464A9
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #8271AE

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

Preview Lab → · Contrast checker → · Palette generator →

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