#8271F4#8271F4

#8271F4 is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.9% C 0.189 H 285.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8271F4
RGBrgb(130, 113, 244)
HSLhsl(248, 86%, 70%)
HSVhsv(248, 54%, 96%)
CMYKcmyk(46.7%, 53.7%, 0%, 4.3%)
CIE-LABlab(55.16, 39.05, -63.87)
CIE-LCHlch(55.16, 74.86, 301.44°)
OKLaboklab(62.94% 0.0506 -0.1821)
OKLCHoklch(62.94% 0.189 285.5)
XYZxyz(31.4354, 23.0863, 88.3702)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271F4 #E3F471
analogous
#71A2F4 #8271F4 #C371F4
triadic
#8271F4 #F48271 #71F482
tetradic
#8271F4 #F471A2 #E3F471 #71F4C3
square
#8271F4 #F471A2 #E3F471 #71F4C3
split-complementary
#8271F4 #F4C371 #A2F471
monochromatic
#2B11DA #5038F0 #8271F4 #B4AAF8 #E6E3FD

Accessibility & contrast

On white

3.74
#8271F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8271F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271F4
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271F4#FFFFFF#000000##000000
##8271F41.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2988F8
Deuteranopia (green-blind)
#2480F1
Tritanopia (blue-blind)
#5C8EA8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8271f4;
/* rgb */ color: rgb(130, 113, 244);
/* oklch */ color: oklch(62.9% 0.189 285.5);
Tailwind
colors: {
  custom: {
    50: '#ad9af8',
    500: '#8271f4',
    950: '#000000',
  },
}
SCSS
$custom: #8271f4;
$custom-light: #ad9af8;
$custom-dark: #000000;
JSON
{
  "hex": "#8271f4",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 247.786,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.62939,
    "c": 0.18899,
    "h": 285.5
  },
  "luminance": 0.23088
}

Semantic roles & 50–950 ramp

primary
#8271F4
secondary
#EEF3CE
accent
#E203C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8271F4

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

Preview Lab → · Contrast checker → · Palette generator →

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