#8271E7#8271E7

#8271E7 is a light, vivid blue. Relative luminance 0.223; OKLCH L 62.1% C 0.172 H 286.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8271E7
RGBrgb(130, 113, 231)
HSLhsl(249, 71%, 67%)
HSVhsv(249, 51%, 91%)
CMYKcmyk(43.7%, 51.1%, 0%, 9.4%)
CIE-LABlab(54.37, 35.33, -57.89)
CIE-LCHlch(54.37, 67.82, 301.40°)
OKLaboklab(62.1% 0.0499 -0.1645)
OKLCHoklch(62.1% 0.172 286.9)
XYZxyz(29.5307, 22.3244, 78.3389)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271E7 #D6E771
analogous
#719BE7 #8271E7 #BD71E7
triadic
#8271E7 #E78271 #71E782
tetradic
#8271E7 #E7719B #D6E771 #71E7BD
square
#8271E7 #E7719B #D6E771 #71E7BD
split-complementary
#8271E7 #E7BD71 #9BE771
monochromatic
#3720BE #543DDE #8271E7 #B0A5F0 #DEDAF9

Accessibility & contrast

On white

3.84
#8271E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8271E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271E7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271E7#FFFFFF#000000##000000
##8271E71.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B85EB
Deuteranopia (green-blind)
#3A7FE4
Tritanopia (blue-blind)
#638AA1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8271e7;
/* rgb */ color: rgb(130, 113, 231);
/* oklch */ color: oklch(62.1% 0.172 286.9);
Tailwind
colors: {
  custom: {
    50: '#ac9aef',
    500: '#8271e7',
    950: '#000000',
  },
}
SCSS
$custom: #8271e7;
$custom-light: #ac9aef;
$custom-dark: #000000;
JSON
{
  "hex": "#8271e7",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 248.644,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.62095,
    "c": 0.17194,
    "h": 286.9
  },
  "luminance": 0.22326
}

Semantic roles & 50–950 ramp

primary
#8271E7
secondary
#E7ECC7
accent
#D312B7
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84

Preview Lab

Preview with #8271E7

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

Preview Lab → · Contrast checker → · Palette generator →

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