#8271BF#8271BF

#8271BF is a mid, moderate violet. Relative luminance 0.203; OKLCH L 59.8% C 0.117 H 292.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8271BF
RGBrgb(130, 113, 191)
HSLhsl(253, 38%, 60%)
HSVhsv(253, 41%, 75%)
CMYKcmyk(31.9%, 40.8%, 0%, 25.1%)
CIE-LABlab(52.19, 24.32, -38.66)
CIE-LCHlch(52.19, 45.68, 302.17°)
OKLaboklab(59.75% 0.0449 -0.1083)
OKLCHoklch(59.75% 0.117 292.5)
XYZxyz(24.5126, 20.3172, 51.9103)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271BF #AEBF71
analogous
#7187BF #8271BF #A971BF
triadic
#8271BF #BF8271 #71BF82
tetradic
#8271BF #BF7187 #AEBF71 #71BFA9
square
#8271BF #BF7187 #AEBF71 #71BFA9
split-complementary
#8271BF #BFA971 #87BF71
monochromatic
#47387D #5F4BA7 #8271BF #A79BD2 #CCC5E5

Accessibility & contrast

On white

4.15
#8271BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8271BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271BF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271BF#FFFFFF#000000##000000
##8271BF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7EC2
Deuteranopia (green-blind)
#5B7BBD
Tritanopia (blue-blind)
#747F8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8271bf;
/* rgb */ color: rgb(130, 113, 191);
/* oklch */ color: oklch(59.8% 0.117 292.5);
Tailwind
colors: {
  custom: {
    50: '#a89ad2',
    500: '#8271bf',
    950: '#000000',
  },
}
SCSS
$custom: #8271bf;
$custom-light: #a89ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8271bf",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 253.077,
    "s": 37.864,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59751,
    "c": 0.11725,
    "h": 292.5
  },
  "luminance": 0.20318
}

Semantic roles & 50–950 ramp

primary
#8271BF
secondary
#CED5B7
accent
#CE5AB5
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8271BF

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

Preview Lab → · Contrast checker → · Palette generator →

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