#8271F7#8271F7

#8271F7 is a light, vivid blue. Relative luminance 0.233; OKLCH L 63.1% C 0.193 H 285.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8271F7
RGBrgb(130, 113, 247)
HSLhsl(248, 89%, 71%)
HSVhsv(248, 54%, 97%)
CMYKcmyk(47.4%, 54.3%, 0%, 3.1%)
CIE-LABlab(55.35, 39.91, -65.23)
CIE-LCHlch(55.35, 76.47, 301.46°)
OKLaboklab(63.14% 0.0507 -0.1861)
OKLCHoklch(63.14% 0.193 285.2)
XYZxyz(31.8946, 23.2700, 90.7886)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271F7 #E6F771
analogous
#71A3F7 #8271F7 #C571F7
triadic
#8271F7 #F78271 #71F782
tetradic
#8271F7 #F771A3 #E6F771 #71F7C5
square
#8271F7 #F771A3 #E6F771 #71F7C5
split-complementary
#8271F7 #F7C571 #A3F771
monochromatic
#280DE1 #4F37F4 #8271F7 #B5ABFA #E6E2FD

Accessibility & contrast

On white

3.71
#8271F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#8271F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271F7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271F7#FFFFFF#000000##000000
##8271F71.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2488FC
Deuteranopia (green-blind)
#1D80F4
Tritanopia (blue-blind)
#5A8FA9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8271f7;
/* rgb */ color: rgb(130, 113, 247);
/* oklch */ color: oklch(63.1% 0.193 285.2);
Tailwind
colors: {
  custom: {
    50: '#ad9afb',
    500: '#8271f7',
    950: '#000000',
  },
}
SCSS
$custom: #8271f7;
$custom-light: #ad9afb;
$custom-dark: #000000;
JSON
{
  "hex": "#8271f7",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 247.612,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.63139,
    "c": 0.19288,
    "h": 285.2
  },
  "luminance": 0.23271
}

Semantic roles & 50–950 ramp

primary
#8271F7
secondary
#EFF4D0
accent
#E600C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8271F7

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

Preview Lab → · Contrast checker → · Palette generator →

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