#8271F5#8271F5

#8271F5 is a light, vivid blue. Relative luminance 0.231; OKLCH L 63.0% C 0.190 H 285.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#8271F5
RGBrgb(130, 113, 245)
HSLhsl(248, 87%, 70%)
HSVhsv(248, 54%, 96%)
CMYKcmyk(46.9%, 53.9%, 0%, 3.9%)
CIE-LABlab(55.22, 39.34, -64.32)
CIE-LCHlch(55.22, 75.40, 301.45°)
OKLaboklab(63.01% 0.0506 -0.1834)
OKLCHoklch(63.01% 0.19 285.4)
XYZxyz(31.5876, 23.1472, 89.1720)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271F5 #E4F571
analogous
#71A2F5 #8271F5 #C471F5
triadic
#8271F5 #F58271 #71F582
tetradic
#8271F5 #F571A2 #E4F571 #71F5C4
square
#8271F5 #F571A2 #E4F571 #71F5C4
split-complementary
#8271F5 #F5C471 #A2F571
monochromatic
#2A10DC #5038F1 #8271F5 #B4AAF9 #E6E2FD

Accessibility & contrast

On white

3.73
#8271F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#8271F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271F5
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271F5#FFFFFF#000000##000000
##8271F51.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2788FA
Deuteranopia (green-blind)
#2280F2
Tritanopia (blue-blind)
#5B8EA8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8271f5;
/* rgb */ color: rgb(130, 113, 245);
/* oklch */ color: oklch(63.0% 0.190 285.4);
Tailwind
colors: {
  custom: {
    50: '#ad9af9',
    500: '#8271f5',
    950: '#000000',
  },
}
SCSS
$custom: #8271f5;
$custom-light: #ad9af9;
$custom-dark: #000000;
JSON
{
  "hex": "#8271f5",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 247.727,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63005,
    "c": 0.19029,
    "h": 285.4
  },
  "luminance": 0.23149
}

Semantic roles & 50–950 ramp

primary
#8271F5
secondary
#EEF3CF
accent
#E302C6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8271F5

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

Preview Lab → · Contrast checker → · Palette generator →

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