#8271C8#8271C8

#8271C8 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.2% C 0.130 H 291.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8271C8
RGBrgb(130, 113, 200)
HSLhsl(252, 44%, 61%)
HSVhsv(252, 44%, 78%)
CMYKcmyk(35%, 43.5%, 0%, 21.6%)
CIE-LABlab(52.65, 26.73, -43.10)
CIE-LCHlch(52.65, 50.71, 301.80°)
OKLaboklab(60.24% 0.0464 -0.1212)
OKLCHoklch(60.24% 0.13 291)
XYZxyz(25.5336, 20.7256, 57.2875)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8271C8 #B7C871
analogous
#718CC8 #8271C8 #AE71C8
triadic
#8271C8 #C88271 #71C882
tetradic
#8271C8 #C8718C #B7C871 #71C8AE
square
#8271C8 #C8718C #B7C871 #71C8AE
split-complementary
#8271C8 #C8AE71 #8CC871
monochromatic
#463589 #5C46B6 #8271C8 #A99DD9 #D0C9EA

Accessibility & contrast

On white

4.08
#8271C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8271C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8271C8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8271C8#FFFFFF#000000##000000
##8271C81.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#547FCB
Deuteranopia (green-blind)
#567CC6
Tritanopia (blue-blind)
#718293
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8271c8;
/* rgb */ color: rgb(130, 113, 200);
/* oklch */ color: oklch(60.2% 0.130 291.0);
Tailwind
colors: {
  custom: {
    50: '#a99ad9',
    500: '#8271c8',
    950: '#000000',
  },
}
SCSS
$custom: #8271c8;
$custom-light: #a99ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#8271c8",
  "rgb": {
    "r": 130,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 251.724,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60243,
    "c": 0.12982,
    "h": 291
  },
  "luminance": 0.20726
}

Semantic roles & 50–950 ramp

primary
#8271C8
secondary
#D4DBBA
accent
#B72E9D
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100E14
muted
#7F7E83

Preview Lab

Preview with #8271C8

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

Preview Lab → · Contrast checker → · Palette generator →

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