#8271ED#8271ED

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

Color values

HEX#8271ED
RGBrgb(130, 113, 237)
HSLhsl(248, 78%, 69%)
HSVhsv(248, 52%, 93%)
CMYKcmyk(45.1%, 52.3%, 0%, 7.1%)
CIE-LABlab(54.73, 37.04, -60.66)
CIE-LCHlch(54.73, 71.08, 301.41°)
OKLaboklab(62.48% 0.0503 -0.1727)
OKLCHoklch(62.48% 0.18 286.2)
XYZxyz(30.3927, 22.6692, 82.8785)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271ED #DCED71
analogous
#719EED #8271ED #C071ED
triadic
#8271ED #ED8271 #71ED82
tetradic
#8271ED #ED719E #DCED71 #71EDC0
square
#8271ED #ED719E #DCED71 #71EDC0
split-complementary
#8271ED #EDC071 #9EED71
monochromatic
#321ACA #523BE6 #8271ED #B2A7F4 #E2DEFB

Accessibility & contrast

On white

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

On black

5.53
#8271ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271ED
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271ED#FFFFFF#000000##000000
##8271ED1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F1
Deuteranopia (green-blind)
#317FEA
Tritanopia (blue-blind)
#608CA4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8271ed;
/* rgb */ color: rgb(130, 113, 237);
/* oklch */ color: oklch(62.5% 0.180 286.2);
Tailwind
colors: {
  custom: {
    50: '#ac9af3',
    500: '#8271ed',
    950: '#000000',
  },
}
SCSS
$custom: #8271ed;
$custom-light: #ac9af3;
$custom-dark: #000000;
JSON
{
  "hex": "#8271ed",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 248.226,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6248,
    "c": 0.17985,
    "h": 286.2
  },
  "luminance": 0.22671
}

Semantic roles & 50–950 ramp

primary
#8271ED
secondary
#EAEFCA
accent
#DA0CBD
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #8271ED

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

Preview Lab → · Contrast checker → · Palette generator →

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