#8271FF#8271FF

#8271FF is a light, highly saturated blue. Relative luminance 0.238; OKLCH L 63.7% C 0.203 H 284.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8271FF
RGBrgb(130, 113, 255)
HSLhsl(247, 100%, 72%)
HSVhsv(247, 56%, 100%)
CMYKcmyk(49%, 55.7%, 0%, 0%)
CIE-LABlab(55.86, 42.23, -68.83)
CIE-LCHlch(55.86, 80.75, 301.53°)
OKLaboklab(63.68% 0.0508 -0.1967)
OKLCHoklch(63.68% 0.203 284.5)
XYZxyz(33.1557, 23.7744, 97.4302)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271FF #EEFF71
analogous
#71A7FF #8271FF #C971FF
triadic
#8271FF #FF8271 #71FF82
tetradic
#8271FF #FF71A7 #EEFF71 #71FFC9
square
#8271FF #FF71A7 #EEFF71 #71FFC9
split-complementary
#8271FF #FFC971 #A7FF71
monochromatic
#1D00F6 #4C34FF #8271FF #B8AEFF #E4E0FF

Accessibility & contrast

On white

3.65
#8271FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8271FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271FF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271FF#FFFFFF#000000##000000
##8271FF1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A8AFF
Deuteranopia (green-blind)
#0081FC
Tritanopia (blue-blind)
#5491AD
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8271ff;
/* rgb */ color: rgb(130, 113, 255);
/* oklch */ color: oklch(63.7% 0.203 284.5);
Tailwind
colors: {
  custom: {
    50: '#ae9aff',
    500: '#8271ff',
    950: '#000000',
  },
}
SCSS
$custom: #8271ff;
$custom-light: #ae9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#8271ff",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 247.183,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.63681,
    "c": 0.20315,
    "h": 284.5
  },
  "luminance": 0.23776
}

Semantic roles & 50–950 ramp

primary
#8271FF
secondary
#F3F7D4
accent
#E600CA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #8271FF

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

Preview Lab → · Contrast checker → · Palette generator →

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