#8228B0#8228B0

#8228B0 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.205 H 311.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8228B0
RGBrgb(130, 40, 176)
HSLhsl(280, 63%, 42%)
HSVhsv(280, 77%, 69%)
CMYKcmyk(26.1%, 77.3%, 0%, 31%)
CIE-LABlab(36.74, 58.73, -54.59)
CIE-LCHlch(36.74, 80.19, 317.09°)
OKLaboklab(48.11% 0.1344 -0.1547)
OKLCHoklch(48.11% 0.205 311)
XYZxyz(17.7997, 9.3984, 41.9423)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8228B0 #56B028
analogous
#3E28B0 #8228B0 #B0289A
triadic
#8228B0 #B08228 #28B082
tetradic
#8228B0 #B03E28 #56B028 #289AB0
square
#8228B0 #B03E28 #56B028 #289AB0
split-complementary
#8228B0 #9AB028 #28B03E
monochromatic
#38114C #5D1D7E #8228B0 #A241D4 #BB73DF

Accessibility & contrast

On white

7.29
#8228B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8228B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8228B0
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8228B0#FFFFFF#000000##FFFFFF
##8228B01.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0458AD
Tritanopia (blue-blind)
#7C496B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8228b0;
/* rgb */ color: rgb(130, 40, 176);
/* oklch */ color: oklch(48.1% 0.205 311.0);
Tailwind
colors: {
  custom: {
    50: '#ab6cc8',
    500: '#8228b0',
    950: '#000000',
  },
}
SCSS
$custom: #8228b0;
$custom-light: #ab6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8228b0",
  "rgb": {
    "r": 130,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 279.706,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48108,
    "c": 0.20494,
    "h": 311
  },
  "luminance": 0.09398
}

Semantic roles & 50–950 ramp

primary
#8228B0
secondary
#8BC66D
accent
#E64279
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8228B0

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

Preview Lab → · Contrast checker → · Palette generator →

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