#8228B6#8228B6

#8228B6 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.6% C 0.210 H 309.3°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8228B6
RGBrgb(130, 40, 182)
HSLhsl(278, 64%, 44%)
HSVhsv(278, 78%, 71%)
CMYKcmyk(28.6%, 78%, 0%, 28.6%)
CIE-LABlab(37.19, 60.01, -57.42)
CIE-LCHlch(37.19, 83.05, 316.26°)
OKLaboklab(48.57% 0.1332 -0.163)
OKLCHoklch(48.57% 0.211 309.3)
XYZxyz(18.4065, 9.6412, 45.1382)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8228B6 #5CB628
analogous
#3B28B6 #8228B6 #B628A3
triadic
#8228B6 #B68228 #28B682
tetradic
#8228B6 #B63B28 #5CB628 #28A3B6
square
#8228B6 #B63B28 #5CB628 #28A3B6
split-complementary
#8228B6 #A3B628 #28B63B
monochromatic
#3A1252 #5E1D84 #8228B6 #A145D6 #BA77E1

Accessibility & contrast

On white

7.17
#8228B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8228B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8228B6
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8228B6#FFFFFF#000000##FFFFFF
##8228B61.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0059B3
Tritanopia (blue-blind)
#7A4B6F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8228b6;
/* rgb */ color: rgb(130, 40, 182);
/* oklch */ color: oklch(48.6% 0.210 309.3);
Tailwind
colors: {
  custom: {
    50: '#ab6dcd',
    500: '#8228b6',
    950: '#000000',
  },
}
SCSS
$custom: #8228b6;
$custom-light: #ab6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8228b6",
  "rgb": {
    "r": 130,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 278.028,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48566,
    "c": 0.2105,
    "h": 309.3
  },
  "luminance": 0.09641
}

Semantic roles & 50–950 ramp

primary
#8228B6
secondary
#91C971
accent
#E7417E
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8228B6

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

Preview Lab → · Contrast checker → · Palette generator →

#8228B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva