#8271FC#8271FC

#8271FC is a light, vivid blue. Relative luminance 0.236; OKLCH L 63.5% C 0.199 H 284.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8271FC
RGBrgb(130, 113, 252)
HSLhsl(247, 96%, 72%)
HSVhsv(247, 55%, 99%)
CMYKcmyk(48.4%, 55.2%, 0%, 1.2%)
CIE-LABlab(55.67, 41.36, -67.48)
CIE-LCHlch(55.67, 79.15, 301.50°)
OKLaboklab(63.48% 0.0508 -0.1927)
OKLCHoklch(63.48% 0.199 284.8)
XYZxyz(32.6765, 23.5828, 94.9067)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271FC #EBFC71
analogous
#71A6FC #8271FC #C871FC
triadic
#8271FC #FC8271 #71FC82
tetradic
#8271FC #FC71A6 #EBFC71 #71FCC8
square
#8271FC #FC71A6 #EBFC71 #71FCC8
split-complementary
#8271FC #FCC871 #A6FC71
monochromatic
#2105EE #4D35FB #8271FC #B7ADFD #E5E1FE

Accessibility & contrast

On white

3.67
#8271FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#8271FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271FC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271FC#FFFFFF#000000##000000
##8271FC1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1789FF
Deuteranopia (green-blind)
#0781F9
Tritanopia (blue-blind)
#5690AC
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8271fc;
/* rgb */ color: rgb(130, 113, 252);
/* oklch */ color: oklch(63.5% 0.199 284.8);
Tailwind
colors: {
  custom: {
    50: '#ae9afe',
    500: '#8271fc',
    950: '#000000',
  },
}
SCSS
$custom: #8271fc;
$custom-light: #ae9afe;
$custom-dark: #000000;
JSON
{
  "hex": "#8271fc",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 247.338,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.63476,
    "c": 0.19931,
    "h": 284.8
  },
  "luminance": 0.23584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8271FC

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

Preview Lab → · Contrast checker → · Palette generator →

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