#8227C6#8227C6

#8227C6 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.8% C 0.226 H 305.1°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8227C6
RGBrgb(130, 39, 198)
HSLhsl(274, 67%, 46%)
HSVhsv(274, 80%, 78%)
CMYKcmyk(34.3%, 80.3%, 0%, 22.4%)
CIE-LABlab(38.33, 63.82, -64.97)
CIE-LCHlch(38.33, 91.07, 314.49°)
OKLaboklab(49.75% 0.13 -0.1852)
OKLCHoklch(49.75% 0.226 305.1)
XYZxyz(20.1222, 10.2742, 54.3382)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8227C6 #6BC627
analogous
#3327C6 #8227C6 #C627BB
triadic
#8227C6 #C68227 #27C682
tetradic
#8227C6 #C63327 #6BC627 #27BBC6
square
#8227C6 #C63327 #6BC627 #27BBC6
split-complementary
#8227C6 #BBC627 #27C633
monochromatic
#3F1360 #601D93 #8227C6 #9F4EDC #BB81E6

Accessibility & contrast

On white

6.87
#8227C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8227C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8227C6
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8227C6#FFFFFF#000000##FFFFFF
##8227C61.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CA
Deuteranopia (green-blind)
#005AC3
Tritanopia (blue-blind)
#755278
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8227c6;
/* rgb */ color: rgb(130, 39, 198);
/* oklch */ color: oklch(49.8% 0.226 305.1);
Tailwind
colors: {
  custom: {
    50: '#ad6dd8',
    500: '#8227c6',
    950: '#000000',
  },
}
SCSS
$custom: #8227c6;
$custom-light: #ad6dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8227c6",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 198
  },
  "hsl": {
    "h": 274.34,
    "s": 67.089,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49754,
    "c": 0.22626,
    "h": 305.1
  },
  "luminance": 0.10274
}

Semantic roles & 50–950 ramp

primary
#8227C6
secondary
#9ECF7A
accent
#EA3E87
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110815
muted
#807A83

Preview Lab

Preview with #8227C6

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

Preview Lab → · Contrast checker → · Palette generator →

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