#8271F9#8271F9

#8271F9 is a light, vivid blue. Relative luminance 0.234; OKLCH L 63.3% C 0.195 H 285.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8271F9
RGBrgb(130, 113, 249)
HSLhsl(248, 92%, 71%)
HSVhsv(248, 55%, 98%)
CMYKcmyk(47.8%, 54.6%, 0%, 2.4%)
CIE-LABlab(55.48, 40.49, -66.13)
CIE-LCHlch(55.48, 77.54, 301.48°)
OKLaboklab(63.27% 0.0507 -0.1888)
OKLCHoklch(63.27% 0.195 285)
XYZxyz(32.2049, 23.3941, 92.4228)
Luminance0.2340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271F9 #E8F971
analogous
#71A4F9 #8271F9 #C671F9
triadic
#8271F9 #F98271 #71F982
tetradic
#8271F9 #F971A4 #E8F971 #71F9C6
square
#8271F9 #F971A4 #E8F971 #71F9C6
split-complementary
#8271F9 #F9C671 #A4F971
monochromatic
#250AE6 #4E36F7 #8271F9 #B6ACFB #E5E2FE

Accessibility & contrast

On white

3.70
#8271F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8271F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271F9
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271F9#FFFFFF#000000##000000
##8271F91.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F89FE
Deuteranopia (green-blind)
#1681F6
Tritanopia (blue-blind)
#588FAA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8271f9;
/* rgb */ color: rgb(130, 113, 249);
/* oklch */ color: oklch(63.3% 0.195 285.0);
Tailwind
colors: {
  custom: {
    50: '#ae9afc',
    500: '#8271f9',
    950: '#000000',
  },
}
SCSS
$custom: #8271f9;
$custom-light: #ae9afc;
$custom-dark: #000000;
JSON
{
  "hex": "#8271f9",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 247.5,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.63273,
    "c": 0.19546,
    "h": 285
  },
  "luminance": 0.23396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8271F9

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

Preview Lab → · Contrast checker → · Palette generator →

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