#8271CA#8271CA

#8271CA is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.4% C 0.133 H 290.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8271CA
RGBrgb(130, 113, 202)
HSLhsl(251, 46%, 62%)
HSVhsv(251, 44%, 79%)
CMYKcmyk(35.6%, 44.1%, 0%, 20.8%)
CIE-LABlab(52.75, 27.27, -44.08)
CIE-LCHlch(52.75, 51.83, 301.74°)
OKLaboklab(60.36% 0.0468 -0.1241)
OKLCHoklch(60.36% 0.133 290.6)
XYZxyz(25.7689, 20.8197, 58.5266)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271CA #B9CA71
analogous
#718DCA #8271CA #AF71CA
triadic
#8271CA #CA8271 #71CA82
tetradic
#8271CA #CA718D #B9CA71 #71CAAF
square
#8271CA #CA718D #B9CA71 #71CAAF
split-complementary
#8271CA #CAAF71 #8DCA71
monochromatic
#45348C #5B45B9 #8271CA #A99EDB #D0CAEB

Accessibility & contrast

On white

4.07
#8271CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8271CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271CA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271CA#FFFFFF#000000##000000
##8271CA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#537FCD
Deuteranopia (green-blind)
#547CC8
Tritanopia (blue-blind)
#708294
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8271ca;
/* rgb */ color: rgb(130, 113, 202);
/* oklch */ color: oklch(60.4% 0.133 290.6);
Tailwind
colors: {
  custom: {
    50: '#a99ada',
    500: '#8271ca',
    950: '#000000',
  },
}
SCSS
$custom: #8271ca;
$custom-light: #a99ada;
$custom-dark: #000000;
JSON
{
  "hex": "#8271ca",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 251.461,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60355,
    "c": 0.1326,
    "h": 290.6
  },
  "luminance": 0.2082
}

Semantic roles & 50–950 ramp

primary
#8271CA
secondary
#D6DCBB
accent
#B92D9E
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #8271CA

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

Preview Lab → · Contrast checker → · Palette generator →

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