#8226B4#8226B4

#8226B4 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.2% C 0.211 H 310.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8226B4
RGBrgb(130, 38, 180)
HSLhsl(279, 65%, 43%)
HSVhsv(279, 79%, 71%)
CMYKcmyk(27.8%, 78.9%, 0%, 29.4%)
CIE-LABlab(36.80, 60.29, -56.88)
CIE-LCHlch(36.80, 82.88, 316.67°)
OKLaboklab(48.24% 0.1353 -0.1614)
OKLCHoklch(48.24% 0.211 310)
XYZxyz(18.1356, 9.4277, 44.0355)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8226B4 #58B426
analogous
#3B26B4 #8226B4 #B4269F
triadic
#8226B4 #B48226 #26B482
tetradic
#8226B4 #B43B26 #58B426 #269FB4
square
#8226B4 #B43B26 #58B426 #269FB4
split-complementary
#8226B4 #9FB426 #26B43B
monochromatic
#39114F #5E1B81 #8226B4 #A240D7 #BB73E1

Accessibility & contrast

On white

7.28
#8226B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8226B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8226B4
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8226B4#FFFFFF#000000##FFFFFF
##8226B41.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#7B4A6D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8226b4;
/* rgb */ color: rgb(130, 38, 180);
/* oklch */ color: oklch(48.2% 0.211 310.0);
Tailwind
colors: {
  custom: {
    50: '#ab6ccb',
    500: '#8226b4',
    950: '#000000',
  },
}
SCSS
$custom: #8226b4;
$custom-light: #ab6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#8226b4",
  "rgb": {
    "r": 130,
    "g": 38,
    "b": 180
  },
  "hsl": {
    "h": 278.873,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48241,
    "c": 0.21059,
    "h": 310
  },
  "luminance": 0.09427
}

Semantic roles & 50–950 ramp

primary
#8226B4
secondary
#8DC96D
accent
#E8407B
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8226B4

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

Preview Lab → · Contrast checker → · Palette generator →

#8226B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva