#8229A2#8229A2

#8229A2 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.191 H 315.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8229A2
RGBrgb(130, 41, 162)
HSLhsl(284, 60%, 40%)
HSVhsv(284, 75%, 64%)
CMYKcmyk(19.8%, 74.7%, 0%, 36.5%)
CIE-LABlab(35.87, 55.45, -47.61)
CIE-LCHlch(35.87, 73.09, 319.35°)
OKLaboklab(47.18% 0.1358 -0.1342)
OKLCHoklch(47.18% 0.191 315.3)
XYZxyz(16.5194, 8.9410, 35.0310)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8229A2 #49A229
analogous
#4529A2 #8229A2 #A22986
triadic
#8229A2 #A28229 #29A282
tetradic
#8229A2 #A24529 #49A229 #2986A2
square
#8229A2 #A24529 #49A229 #2986A2
split-complementary
#8229A2 #86A229 #29A245
monochromatic
#341040 #5B1D71 #8229A2 #A73BCD #BD6CDA

Accessibility & contrast

On white

7.53
#8229A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8229A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8229A2
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8229A2#FFFFFF#000000##FFFFFF
##8229A21.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#25579F
Tritanopia (blue-blind)
#7F4364
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8229a2;
/* rgb */ color: rgb(130, 41, 162);
/* oklch */ color: oklch(47.2% 0.191 315.3);
Tailwind
colors: {
  custom: {
    50: '#aa6cbe',
    500: '#8229a2',
    950: '#000000',
  },
}
SCSS
$custom: #8229a2;
$custom-light: #aa6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8229a2",
  "rgb": {
    "r": 130,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 284.132,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47178,
    "c": 0.19094,
    "h": 315.3
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#8229A2
secondary
#7EC067
accent
#E3456F
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8229A2

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

Preview Lab → · Contrast checker → · Palette generator →

#8229A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva