#8271DA#8271DA

#8271DA is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.3% C 0.155 H 288.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8271DA
RGBrgb(130, 113, 218)
HSLhsl(250, 59%, 65%)
HSVhsv(250, 48%, 85%)
CMYKcmyk(40.4%, 48.2%, 0%, 14.5%)
CIE-LABlab(53.62, 31.67, -51.78)
CIE-LCHlch(53.62, 60.70, 301.45°)
OKLaboklab(61.29% 0.0488 -0.1466)
OKLCHoklch(61.29% 0.155 288.4)
XYZxyz(27.7624, 21.6171, 69.0258)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271DA #C9DA71
analogous
#7195DA #8271DA #B671DA
triadic
#8271DA #DA8271 #71DA82
tetradic
#8271DA #DA7195 #C9DA71 #71DAB6
square
#8271DA #DA7195 #C9DA71 #71DAB6
split-complementary
#8271DA #DAB671 #95DA71
monochromatic
#3F2BA5 #5740CD #8271DA #ADA2E7 #D7D2F3

Accessibility & contrast

On white

3.94
#8271DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8271DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271DA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271DA#FFFFFF#000000##000000
##8271DA1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4882DE
Deuteranopia (green-blind)
#487DD8
Tritanopia (blue-blind)
#69869B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8271da;
/* rgb */ color: rgb(130, 113, 218);
/* oklch */ color: oklch(61.3% 0.155 288.4);
Tailwind
colors: {
  custom: {
    50: '#aa9ae6',
    500: '#8271da',
    950: '#000000',
  },
}
SCSS
$custom: #8271da;
$custom-light: #aa9ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#8271da",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 249.714,
    "s": 58.659,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6129,
    "c": 0.15451,
    "h": 288.4
  },
  "luminance": 0.21618
}

Semantic roles & 50–950 ramp

primary
#8271DA
secondary
#E0E5C1
accent
#C61FAB
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8271DA

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

Preview Lab → · Contrast checker → · Palette generator →

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