#8271BB#8271BB

#8271BB is a mid, moderate violet. Relative luminance 0.201; OKLCH L 59.5% C 0.112 H 293.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8271BB
RGBrgb(130, 113, 187)
HSLhsl(254, 35%, 59%)
HSVhsv(254, 40%, 73%)
CMYKcmyk(30.5%, 39.6%, 0%, 26.7%)
CIE-LABlab(52.00, 23.27, -36.67)
CIE-LCHlch(52.00, 43.43, 302.40°)
OKLaboklab(59.54% 0.0441 -0.1025)
OKLCHoklch(59.54% 0.112 293.3)
XYZxyz(24.0784, 20.1435, 49.6236)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271BB #AABB71
analogous
#7185BB #8271BB #A771BB
triadic
#8271BB #BB8271 #71BB82
tetradic
#8271BB #BB7185 #AABB71 #71BBA7
square
#8271BB #BB7185 #AABB71 #71BBA7
split-complementary
#8271BB #BBA771 #85BB71
monochromatic
#483A78 #614DA1 #8271BB #A69ACF #CBC4E3

Accessibility & contrast

On white

4.18
#8271BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8271BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271BB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271BB#FFFFFF#000000##000000
##8271BB1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBE
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#757E8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8271bb;
/* rgb */ color: rgb(130, 113, 187);
/* oklch */ color: oklch(59.5% 0.112 293.3);
Tailwind
colors: {
  custom: {
    50: '#a89ad0',
    500: '#8271bb',
    950: '#000000',
  },
}
SCSS
$custom: #8271bb;
$custom-light: #a89ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8271bb",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 253.784,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59539,
    "c": 0.11161,
    "h": 293.3
  },
  "luminance": 0.20144
}

Semantic roles & 50–950 ramp

primary
#8271BB
secondary
#CCD2B5
accent
#CB5DB2
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8271BB

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

Preview Lab → · Contrast checker → · Palette generator →

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