#8226B1#8226B1

#8226B1 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.0% C 0.208 H 310.8°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8226B1
RGBrgb(130, 38, 177)
HSLhsl(280, 65%, 42%)
HSVhsv(280, 79%, 69%)
CMYKcmyk(26.6%, 78.5%, 0%, 30.6%)
CIE-LABlab(36.57, 59.65, -55.46)
CIE-LCHlch(36.57, 81.45, 317.09°)
OKLaboklab(48.01% 0.1359 -0.1572)
OKLCHoklch(48.01% 0.208 310.8)
XYZxyz(17.8333, 9.3068, 42.4434)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8226B1 #55B126
analogous
#3C26B1 #8226B1 #B1269B
triadic
#8226B1 #B18226 #26B182
tetradic
#8226B1 #B13C26 #55B126 #269BB1
square
#8226B1 #B13C26 #55B126 #269BB1
split-complementary
#8226B1 #9BB126 #26B13C
monochromatic
#38104C #5D1B7F #8226B1 #A33FD6 #BB71E0

Accessibility & contrast

On white

7.34
#8226B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8226B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8226B1
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8226B1#FFFFFF#000000##FFFFFF
##8226B11.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0057AE
Tritanopia (blue-blind)
#7C486B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8226b1;
/* rgb */ color: rgb(130, 38, 177);
/* oklch */ color: oklch(48.0% 0.208 310.8);
Tailwind
colors: {
  custom: {
    50: '#ab6bc9',
    500: '#8226b1',
    950: '#000000',
  },
}
SCSS
$custom: #8226b1;
$custom-light: #ab6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8226b1",
  "rgb": {
    "r": 130,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 279.712,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48011,
    "c": 0.20785,
    "h": 310.8
  },
  "luminance": 0.09306
}

Semantic roles & 50–950 ramp

primary
#8226B1
secondary
#8BC76B
accent
#E84079
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8226B1

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

Preview Lab → · Contrast checker → · Palette generator →

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