#8271FB#8271FB

#8271FB is a light, vivid blue. Relative luminance 0.235; OKLCH L 63.4% C 0.198 H 284.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8271FB
RGBrgb(130, 113, 251)
HSLhsl(247, 95%, 71%)
HSVhsv(247, 55%, 98%)
CMYKcmyk(48.2%, 55%, 0%, 1.6%)
CIE-LABlab(55.60, 41.07, -67.03)
CIE-LCHlch(55.60, 78.61, 301.49°)
OKLaboklab(63.41% 0.0507 -0.1914)
OKLCHoklch(63.41% 0.198 284.8)
XYZxyz(32.5185, 23.5195, 94.0744)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271FB #EAFB71
analogous
#71A5FB #8271FB #C771FB
triadic
#8271FB #FB8271 #71FB82
tetradic
#8271FB #FB71A5 #EAFB71 #71FBC7
square
#8271FB #FB71A5 #EAFB71 #71FBC7
split-complementary
#8271FB #FBC771 #A5FB71
monochromatic
#2307EB #4E35F9 #8271FB #B6ADFD #E5E1FE

Accessibility & contrast

On white

3.68
#8271FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#8271FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271FB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271FB#FFFFFF#000000##000000
##8271FB1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A89FF
Deuteranopia (green-blind)
#0D81F8
Tritanopia (blue-blind)
#5790AB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8271fb;
/* rgb */ color: rgb(130, 113, 251);
/* oklch */ color: oklch(63.4% 0.198 284.8);
Tailwind
colors: {
  custom: {
    50: '#ae9afd',
    500: '#8271fb',
    950: '#000000',
  },
}
SCSS
$custom: #8271fb;
$custom-light: #ae9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#8271fb",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 247.391,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.63408,
    "c": 0.19803,
    "h": 284.8
  },
  "luminance": 0.23521
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8271FB

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

Preview Lab → · Contrast checker → · Palette generator →

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