#8271FE#8271FE

#8271FE is a light, highly saturated blue. Relative luminance 0.237; OKLCH L 63.6% C 0.202 H 284.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8271FE
RGBrgb(130, 113, 254)
HSLhsl(247, 99%, 72%)
HSVhsv(247, 56%, 100%)
CMYKcmyk(48.8%, 55.5%, 0%, 0.4%)
CIE-LABlab(55.80, 41.94, -68.38)
CIE-LCHlch(55.80, 80.22, 301.52°)
OKLaboklab(63.61% 0.0508 -0.1954)
OKLCHoklch(63.61% 0.202 284.6)
XYZxyz(32.9951, 23.7102, 96.5847)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271FE #EDFE71
analogous
#71A7FE #8271FE #C971FE
triadic
#8271FE #FE8271 #71FE82
tetradic
#8271FE #FE71A7 #EDFE71 #71FEC9
square
#8271FE #FE71A7 #EDFE71 #71FEC9
split-complementary
#8271FE #FEC971 #A7FE71
monochromatic
#1F02F3 #4D34FE #8271FE #B7AEFE #E4E1FF

Accessibility & contrast

On white

3.66
#8271FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#8271FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271FE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271FE#FFFFFF#000000##000000
##8271FE1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F8AFF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#5591AD
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8271fe;
/* rgb */ color: rgb(130, 113, 254);
/* oklch */ color: oklch(63.6% 0.202 284.6);
Tailwind
colors: {
  custom: {
    50: '#ae9aff',
    500: '#8271fe',
    950: '#000000',
  },
}
SCSS
$custom: #8271fe;
$custom-light: #ae9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#8271fe",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 247.234,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.63613,
    "c": 0.20187,
    "h": 284.6
  },
  "luminance": 0.23712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8271FE

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

Preview Lab → · Contrast checker → · Palette generator →

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