#8271FA#8271FA

#8271FA is a light, vivid blue. Relative luminance 0.235; OKLCH L 63.3% C 0.197 H 284.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8271FA
RGBrgb(130, 113, 250)
HSLhsl(247, 93%, 71%)
HSVhsv(247, 55%, 98%)
CMYKcmyk(48%, 54.8%, 0%, 2%)
CIE-LABlab(55.54, 40.78, -66.58)
CIE-LCHlch(55.54, 78.08, 301.49°)
OKLaboklab(63.34% 0.0507 -0.1901)
OKLCHoklch(63.34% 0.197 284.9)
XYZxyz(32.3613, 23.4567, 93.2464)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271FA #E9FA71
analogous
#71A4FA #8271FA #C671FA
triadic
#8271FA #FA8271 #71FA82
tetradic
#8271FA #FA71A4 #E9FA71 #71FAC6
square
#8271FA #FA71A4 #E9FA71 #71FAC6
split-complementary
#8271FA #FAC671 #A4FA71
monochromatic
#2408E8 #4E36F8 #8271FA #B6ACFC #E5E1FE

Accessibility & contrast

On white

3.69
#8271FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8271FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271FA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271FA#FFFFFF#000000##000000
##8271FA1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D89FF
Deuteranopia (green-blind)
#1281F7
Tritanopia (blue-blind)
#5890AB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8271fa;
/* rgb */ color: rgb(130, 113, 250);
/* oklch */ color: oklch(63.3% 0.197 284.9);
Tailwind
colors: {
  custom: {
    50: '#ae9afd',
    500: '#8271fa',
    950: '#000000',
  },
}
SCSS
$custom: #8271fa;
$custom-light: #ae9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#8271fa",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 247.445,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.63341,
    "c": 0.19674,
    "h": 284.9
  },
  "luminance": 0.23458
}

Semantic roles & 50–950 ramp

primary
#8271FA
secondary
#F1F5D1
accent
#E600C9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8271FA

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

Preview Lab → · Contrast checker → · Palette generator →

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