#8271EE#8271EE

#8271EE is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.5% C 0.181 H 286.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8271EE
RGBrgb(130, 113, 238)
HSLhsl(248, 79%, 69%)
HSVhsv(248, 53%, 93%)
CMYKcmyk(45.4%, 52.5%, 0%, 6.7%)
CIE-LABlab(54.79, 37.33, -61.12)
CIE-LCHlch(54.79, 71.62, 301.41°)
OKLaboklab(62.54% 0.0503 -0.174)
OKLCHoklch(62.54% 0.181 286.1)
XYZxyz(30.5392, 22.7278, 83.6501)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271EE #DDEE71
analogous
#719FEE #8271EE #C171EE
triadic
#8271EE #EE8271 #71EE82
tetradic
#8271EE #EE719F #DDEE71 #71EEC1
square
#8271EE #EE719F #DDEE71 #71EEC1
split-complementary
#8271EE #EEC171 #9FEE71
monochromatic
#3118CC #523AE7 #8271EE #B2A8F5 #E2DEFB

Accessibility & contrast

On white

3.79
#8271EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#8271EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271EE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271EE#FFFFFF#000000##000000
##8271EE1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3386F2
Deuteranopia (green-blind)
#3080EB
Tritanopia (blue-blind)
#5F8CA5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8271ee;
/* rgb */ color: rgb(130, 113, 238);
/* oklch */ color: oklch(62.5% 0.181 286.1);
Tailwind
colors: {
  custom: {
    50: '#ac9af4',
    500: '#8271ee',
    950: '#000000',
  },
}
SCSS
$custom: #8271ee;
$custom-light: #ac9af4;
$custom-dark: #000000;
JSON
{
  "hex": "#8271ee",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 248.16,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62544,
    "c": 0.18116,
    "h": 286.1
  },
  "luminance": 0.22729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8271EE

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

Preview Lab → · Contrast checker → · Palette generator →

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