#8271EB#8271EB

#8271EB is a light, vivid blue. Relative luminance 0.226; OKLCH L 62.4% C 0.177 H 286.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8271EB
RGBrgb(130, 113, 235)
HSLhsl(248, 75%, 68%)
HSVhsv(248, 52%, 92%)
CMYKcmyk(44.7%, 51.9%, 0%, 7.8%)
CIE-LABlab(54.61, 36.47, -59.74)
CIE-LCHlch(54.61, 69.99, 301.40°)
OKLaboklab(62.35% 0.0502 -0.17)
OKLCHoklch(62.35% 0.177 286.4)
XYZxyz(30.1021, 22.5530, 81.3482)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271EB #DAEB71
analogous
#719DEB #8271EB #BF71EB
triadic
#8271EB #EB8271 #71EB82
tetradic
#8271EB #EB719D #DAEB71 #71EBBF
square
#8271EB #EB719D #DAEB71 #71EBBF
split-complementary
#8271EB #EBBF71 #9DEB71
monochromatic
#341CC6 #533BE3 #8271EB #B1A7F3 #E0DCFA

Accessibility & contrast

On white

3.81
#8271EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#8271EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271EB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271EB#FFFFFF#000000##000000
##8271EB1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786EF
Deuteranopia (green-blind)
#347FE8
Tritanopia (blue-blind)
#618BA3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8271eb;
/* rgb */ color: rgb(130, 113, 235);
/* oklch */ color: oklch(62.4% 0.177 286.4);
Tailwind
colors: {
  custom: {
    50: '#ac9af2',
    500: '#8271eb',
    950: '#000000',
  },
}
SCSS
$custom: #8271eb;
$custom-light: #ac9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8271eb",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 248.361,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6235,
    "c": 0.17722,
    "h": 286.4
  },
  "luminance": 0.22554
}

Semantic roles & 50–950 ramp

primary
#8271EB
secondary
#E9EEC9
accent
#D70EBB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8271EB

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

Preview Lab → · Contrast checker → · Palette generator →

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