#8227BC#8227BC

#8227BC is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.9% C 0.217 H 307.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8227BC
RGBrgb(130, 39, 188)
HSLhsl(277, 66%, 45%)
HSVhsv(277, 79%, 74%)
CMYKcmyk(30.9%, 79.3%, 0%, 26.3%)
CIE-LABlab(37.53, 61.65, -60.41)
CIE-LCHlch(37.53, 86.31, 315.58°)
OKLaboklab(48.95% 0.1326 -0.1718)
OKLCHoklch(48.95% 0.217 307.7)
XYZxyz(19.0066, 9.8280, 48.4629)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8227BC #61BC27
analogous
#3727BC #8227BC #BC27AC
triadic
#8227BC #BC8227 #27BC82
tetradic
#8227BC #BC3727 #61BC27 #27ACBC
square
#8227BC #BC3727 #61BC27 #27ACBC
split-complementary
#8227BC #ACBC27 #27BC37
monochromatic
#3C1257 #5F1C89 #8227BC #A047D9 #BA7AE3

Accessibility & contrast

On white

7.08
#8227BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8227BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8227BC
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8227BC#FFFFFF#000000##FFFFFF
##8227BC1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#784E72
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8227bc;
/* rgb */ color: rgb(130, 39, 188);
/* oklch */ color: oklch(48.9% 0.217 307.7);
Tailwind
colors: {
  custom: {
    50: '#ac6cd1',
    500: '#8227bc',
    950: '#000000',
  },
}
SCSS
$custom: #8227bc;
$custom-light: #ac6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8227bc",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 188
  },
  "hsl": {
    "h": 276.644,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48949,
    "c": 0.217,
    "h": 307.7
  },
  "luminance": 0.09828
}

Semantic roles & 50–950 ramp

primary
#8227BC
secondary
#96CB73
accent
#E93F81
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8227BC

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

Preview Lab → · Contrast checker → · Palette generator →

#8227BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva