#8271CE#8271CE

#8271CE is a mid, vivid violet. Relative luminance 0.210; OKLCH L 60.6% C 0.138 H 290.0°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8271CE
RGBrgb(130, 113, 206)
HSLhsl(251, 49%, 63%)
HSVhsv(251, 45%, 81%)
CMYKcmyk(36.9%, 45.1%, 0%, 19.2%)
CIE-LABlab(52.96, 28.36, -46.02)
CIE-LCHlch(52.96, 54.06, 301.64°)
OKLaboklab(60.58% 0.0474 -0.1298)
OKLCHoklch(60.58% 0.138 290)
XYZxyz(26.2486, 21.0116, 61.0532)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271CE #BDCE71
analogous
#718ECE #8271CE #B171CE
triadic
#8271CE #CE8271 #71CE82
tetradic
#8271CE #CE718E #BDCE71 #71CEB1
square
#8271CE #CE718E #BDCE71 #71CEB1
split-complementary
#8271CE #CEB171 #8ECE71
monochromatic
#443292 #5A44BE #8271CE #AA9EDE #D2CCED

Accessibility & contrast

On white

4.04
#8271CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8271CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271CE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271CE#FFFFFF#000000##000000
##8271CE1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180D1
Deuteranopia (green-blind)
#527CCC
Tritanopia (blue-blind)
#6E8396
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8271ce;
/* rgb */ color: rgb(130, 113, 206);
/* oklch */ color: oklch(60.6% 0.138 290.0);
Tailwind
colors: {
  custom: {
    50: '#a99add',
    500: '#8271ce',
    950: '#000000',
  },
}
SCSS
$custom: #8271ce;
$custom-light: #a99add;
$custom-dark: #000000;
JSON
{
  "hex": "#8271ce",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 250.968,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60583,
    "c": 0.13813,
    "h": 290
  },
  "luminance": 0.21012
}

Semantic roles & 50–950 ramp

primary
#8271CE
secondary
#D8DEBC
accent
#BC2AA1
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8271CE

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

Preview Lab → · Contrast checker → · Palette generator →

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