#8271F3#8271F3

#8271F3 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.9% C 0.188 H 285.6°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8271F3
RGBrgb(130, 113, 243)
HSLhsl(248, 84%, 70%)
HSVhsv(248, 53%, 95%)
CMYKcmyk(46.5%, 53.5%, 0%, 4.7%)
CIE-LABlab(55.10, 38.76, -63.41)
CIE-LCHlch(55.10, 74.32, 301.44°)
OKLaboklab(62.87% 0.0505 -0.1808)
OKLCHoklch(62.87% 0.188 285.6)
XYZxyz(31.2840, 23.0257, 87.5727)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271F3 #E2F371
analogous
#71A1F3 #8271F3 #C371F3
triadic
#8271F3 #F38271 #71F382
tetradic
#8271F3 #F371A1 #E2F371 #71F3C3
square
#8271F3 #F371A1 #E2F371 #71F3C3
split-complementary
#8271F3 #F3C371 #A1F371
monochromatic
#2C12D7 #5039EE #8271F3 #B4A9F8 #E5E2FD

Accessibility & contrast

On white

3.75
#8271F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#8271F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271F3
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271F3#FFFFFF#000000##000000
##8271F31.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B88F7
Deuteranopia (green-blind)
#2680F0
Tritanopia (blue-blind)
#5C8EA7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8271f3;
/* rgb */ color: rgb(130, 113, 243);
/* oklch */ color: oklch(62.9% 0.188 285.6);
Tailwind
colors: {
  custom: {
    50: '#ad9af8',
    500: '#8271f3',
    950: '#000000',
  },
}
SCSS
$custom: #8271f3;
$custom-light: #ad9af8;
$custom-dark: #000000;
JSON
{
  "hex": "#8271f3",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 247.846,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.62872,
    "c": 0.18769,
    "h": 285.6
  },
  "luminance": 0.23027
}

Semantic roles & 50–950 ramp

primary
#8271F3
secondary
#EDF2CE
accent
#E105C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8271F3

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

Preview Lab → · Contrast checker → · Palette generator →

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