#8271FD#8271FD

#8271FD is a light, highly saturated blue. Relative luminance 0.236; OKLCH L 63.5% C 0.201 H 284.7°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8271FD
RGBrgb(130, 113, 253)
HSLhsl(247, 97%, 72%)
HSVhsv(247, 55%, 99%)
CMYKcmyk(48.6%, 55.3%, 0%, 0.8%)
CIE-LABlab(55.73, 41.65, -67.93)
CIE-LCHlch(55.73, 79.68, 301.51°)
OKLaboklab(63.54% 0.0508 -0.1941)
OKLCHoklch(63.54% 0.201 284.7)
XYZxyz(32.8354, 23.6463, 95.7435)
Luminance0.2365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271FD #ECFD71
analogous
#71A6FD #8271FD #C871FD
triadic
#8271FD #FD8271 #71FD82
tetradic
#8271FD #FD71A6 #ECFD71 #71FDC8
square
#8271FD #FD71A6 #ECFD71 #71FDC8
split-complementary
#8271FD #FDC871 #A6FD71
monochromatic
#2003F0 #4D35FC #8271FD #B7ADFE #E4E1FF

Accessibility & contrast

On white

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

On black

5.73
#8271FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271FD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271FD#FFFFFF#000000##000000
##8271FD1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#138AFF
Deuteranopia (green-blind)
#0181FA
Tritanopia (blue-blind)
#5691AC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8271fd;
/* rgb */ color: rgb(130, 113, 253);
/* oklch */ color: oklch(63.5% 0.201 284.7);
Tailwind
colors: {
  custom: {
    50: '#ae9aff',
    500: '#8271fd',
    950: '#000000',
  },
}
SCSS
$custom: #8271fd;
$custom-light: #ae9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#8271fd",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 247.286,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.63544,
    "c": 0.20059,
    "h": 284.7
  },
  "luminance": 0.23648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8271FD

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

Preview Lab → · Contrast checker → · Palette generator →

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