#8271F8#8271F8

#8271F8 is a light, vivid blue. Relative luminance 0.233; OKLCH L 63.2% C 0.194 H 285.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8271F8
RGBrgb(130, 113, 248)
HSLhsl(248, 91%, 71%)
HSVhsv(248, 54%, 97%)
CMYKcmyk(47.6%, 54.4%, 0%, 2.7%)
CIE-LABlab(55.41, 40.20, -65.68)
CIE-LCHlch(55.41, 77.01, 301.47°)
OKLaboklab(63.21% 0.0507 -0.1874)
OKLCHoklch(63.21% 0.194 285.1)
XYZxyz(32.0493, 23.3319, 91.6035)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271F8 #E7F871
analogous
#71A3F8 #8271F8 #C671F8
triadic
#8271F8 #F88271 #71F882
tetradic
#8271F8 #F871A3 #E7F871 #71F8C6
square
#8271F8 #F871A3 #E7F871 #71F8C6
split-complementary
#8271F8 #F8C671 #A3F871
monochromatic
#260BE3 #4F37F5 #8271F8 #B5ABFB #E5E2FE

Accessibility & contrast

On white

3.71
#8271F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8271F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271F8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271F8#FFFFFF#000000##000000
##8271F81.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2189FD
Deuteranopia (green-blind)
#1A81F5
Tritanopia (blue-blind)
#598FAA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8271f8;
/* rgb */ color: rgb(130, 113, 248);
/* oklch */ color: oklch(63.2% 0.194 285.1);
Tailwind
colors: {
  custom: {
    50: '#ae9afb',
    500: '#8271f8',
    950: '#000000',
  },
}
SCSS
$custom: #8271f8;
$custom-light: #ae9afb;
$custom-dark: #000000;
JSON
{
  "hex": "#8271f8",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 247.556,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.63206,
    "c": 0.19417,
    "h": 285.1
  },
  "luminance": 0.23333
}

Semantic roles & 50–950 ramp

primary
#8271F8
secondary
#F0F5D0
accent
#E600C9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8271F8

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

Preview Lab → · Contrast checker → · Palette generator →

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