#8271F2#8271F2

#8271F2 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.8% C 0.186 H 285.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8271F2
RGBrgb(130, 113, 242)
HSLhsl(248, 83%, 70%)
HSVhsv(248, 53%, 95%)
CMYKcmyk(46.3%, 53.3%, 0%, 5.1%)
CIE-LABlab(55.04, 38.47, -62.95)
CIE-LCHlch(55.04, 73.78, 301.43°)
OKLaboklab(62.81% 0.0505 -0.1794)
OKLCHoklch(62.81% 0.186 285.7)
XYZxyz(31.1334, 22.9655, 86.7795)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271F2 #E1F271
analogous
#71A1F2 #8271F2 #C371F2
triadic
#8271F2 #F28271 #71F282
tetradic
#8271F2 #F271A1 #E1F271 #71F2C3
square
#8271F2 #F271A1 #E1F271 #71F2C3
split-complementary
#8271F2 #F2C371 #A1F271
monochromatic
#2D14D5 #5139ED #8271F2 #B3A9F7 #E5E1FC

Accessibility & contrast

On white

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

On black

5.59
#8271F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271F2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271F2#FFFFFF#000000##000000
##8271F21.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D87F6
Deuteranopia (green-blind)
#2980EF
Tritanopia (blue-blind)
#5D8DA7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8271f2;
/* rgb */ color: rgb(130, 113, 242);
/* oklch */ color: oklch(62.8% 0.186 285.7);
Tailwind
colors: {
  custom: {
    50: '#ad9af7',
    500: '#8271f2',
    950: '#000000',
  },
}
SCSS
$custom: #8271f2;
$custom-light: #ad9af7;
$custom-dark: #000000;
JSON
{
  "hex": "#8271f2",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 247.907,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62806,
    "c": 0.18639,
    "h": 285.7
  },
  "luminance": 0.22967
}

Semantic roles & 50–950 ramp

primary
#8271F2
secondary
#EDF2CD
accent
#E006C3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8271F2

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

Preview Lab → · Contrast checker → · Palette generator →

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