#8271EF#8271EF

#8271EF is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.6% C 0.182 H 286.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8271EF
RGBrgb(130, 113, 239)
HSLhsl(248, 80%, 69%)
HSVhsv(248, 53%, 94%)
CMYKcmyk(45.6%, 52.7%, 0%, 6.3%)
CIE-LABlab(54.85, 37.61, -61.58)
CIE-LCHlch(54.85, 72.16, 301.42°)
OKLaboklab(62.61% 0.0504 -0.1754)
OKLCHoklch(62.61% 0.182 286)
XYZxyz(30.6865, 22.7868, 84.4260)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271EF #DEEF71
analogous
#719FEF #8271EF #C171EF
triadic
#8271EF #EF8271 #71EF82
tetradic
#8271EF #EF719F #DEEF71 #71EFC1
square
#8271EF #EF719F #DEEF71 #71EFC1
split-complementary
#8271EF #EFC171 #9FEF71
monochromatic
#3017CE #523AE9 #8271EF #B2A8F5 #E3DFFB

Accessibility & contrast

On white

3.78
#8271EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8271EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271EF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271EF#FFFFFF#000000##000000
##8271EF1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3187F3
Deuteranopia (green-blind)
#2E80EC
Tritanopia (blue-blind)
#5F8CA5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8271ef;
/* rgb */ color: rgb(130, 113, 239);
/* oklch */ color: oklch(62.6% 0.182 286.0);
Tailwind
colors: {
  custom: {
    50: '#ad9af5',
    500: '#8271ef',
    950: '#000000',
  },
}
SCSS
$custom: #8271ef;
$custom-light: #ad9af5;
$custom-dark: #000000;
JSON
{
  "hex": "#8271ef",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 248.095,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.6261,
    "c": 0.18247,
    "h": 286
  },
  "luminance": 0.22788
}

Semantic roles & 50–950 ramp

primary
#8271EF
secondary
#EBF0CB
accent
#DC09C0
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #8271EF

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

Preview Lab → · Contrast checker → · Palette generator →

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