#8271AF#8271AF

#8271AF is a mid, moderate violet. Relative luminance 0.197; OKLCH L 58.9% C 0.095 H 296.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8271AF
RGBrgb(130, 113, 175)
HSLhsl(256, 28%, 56%)
HSVhsv(256, 35%, 69%)
CMYKcmyk(25.7%, 35.4%, 0%, 31.4%)
CIE-LABlab(51.44, 20.19, -30.62)
CIE-LCHlch(51.44, 36.68, 303.41°)
OKLaboklab(58.93% 0.0414 -0.085)
OKLCHoklch(58.93% 0.095 296)
XYZxyz(22.8471, 19.6510, 43.1385)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271AF #9EAF71
analogous
#717FAF #8271AF #A171AF
triadic
#8271AF #AF8271 #71AF82
tetradic
#8271AF #AF717F #9EAF71 #71AFA1
square
#8271AF #AF717F #9EAF71 #71AFA1
split-complementary
#8271AF #AFA171 #7FAF71
monochromatic
#483C6A #635291 #8271AF #A498C5 #C7BFDB

Accessibility & contrast

On white

4.26
#8271AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8271AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271AF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271AF#FFFFFF#000000##000000
##8271AF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#617BB1
Deuteranopia (green-blind)
#647AAD
Tritanopia (blue-blind)
#797B88
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8271af;
/* rgb */ color: rgb(130, 113, 175);
/* oklch */ color: oklch(58.9% 0.095 296.0);
Tailwind
colors: {
  custom: {
    50: '#a79ac7',
    500: '#8271af',
    950: '#000000',
  },
}
SCSS
$custom: #8271af;
$custom-light: #a79ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#8271af",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 256.452,
    "s": 27.928,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5893,
    "c": 0.09459,
    "h": 296
  },
  "luminance": 0.19651
}

Semantic roles & 50–950 ramp

primary
#8271AF
secondary
#C4CBB1
accent
#C464AA
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8271AF

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

Preview Lab → · Contrast checker → · Palette generator →

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