#8271EA#8271EA

#8271EA is a light, vivid blue. Relative luminance 0.225; OKLCH L 62.3% C 0.176 H 286.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8271EA
RGBrgb(130, 113, 234)
HSLhsl(248, 74%, 68%)
HSVhsv(248, 52%, 92%)
CMYKcmyk(44.4%, 51.7%, 0%, 8.2%)
CIE-LABlab(54.55, 36.18, -59.28)
CIE-LCHlch(54.55, 69.45, 301.40°)
OKLaboklab(62.29% 0.0501 -0.1686)
OKLCHoklch(62.29% 0.176 286.6)
XYZxyz(29.9581, 22.4954, 80.5895)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271EA #D9EA71
analogous
#719CEA #8271EA #BF71EA
triadic
#8271EA #EA8271 #71EA82
tetradic
#8271EA #EA719C #D9EA71 #71EABF
square
#8271EA #EA719C #D9EA71 #71EABF
split-complementary
#8271EA #EABF71 #9CEA71
monochromatic
#341DC4 #533CE2 #8271EA #B1A6F2 #E0DCFA

Accessibility & contrast

On white

3.82
#8271EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#8271EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271EA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271EA#FFFFFF#000000##000000
##8271EA1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EE
Deuteranopia (green-blind)
#367FE7
Tritanopia (blue-blind)
#618BA3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8271ea;
/* rgb */ color: rgb(130, 113, 234);
/* oklch */ color: oklch(62.3% 0.176 286.6);
Tailwind
colors: {
  custom: {
    50: '#ac9af1',
    500: '#8271ea',
    950: '#000000',
  },
}
SCSS
$custom: #8271ea;
$custom-light: #ac9af1;
$custom-dark: #000000;
JSON
{
  "hex": "#8271ea",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 248.43,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.62286,
    "c": 0.1759,
    "h": 286.6
  },
  "luminance": 0.22497
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8271EA

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

Preview Lab → · Contrast checker → · Palette generator →

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