#8228A3#8228A3

#8228A3 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.193 H 315.1°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8228A3
RGBrgb(130, 40, 163)
HSLhsl(284, 61%, 40%)
HSVhsv(284, 75%, 64%)
CMYKcmyk(20.2%, 75.5%, 0%, 36.1%)
CIE-LABlab(35.81, 56.04, -48.32)
CIE-LCHlch(35.81, 73.99, 319.23°)
OKLaboklab(47.16% 0.1366 -0.1363)
OKLCHoklch(47.16% 0.193 315.1)
XYZxyz(16.5745, 8.9084, 35.4896)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8228A3 #49A328
analogous
#4428A3 #8228A3 #A32887
triadic
#8228A3 #A38228 #28A382
tetradic
#8228A3 #A34428 #49A328 #2887A3
square
#8228A3 #A34428 #49A328 #2887A3
split-complementary
#8228A3 #87A328 #28A344
monochromatic
#341041 #5B1C72 #8228A3 #A73ACF #BD6BDB

Accessibility & contrast

On white

7.55
#8228A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8228A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8228A3
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8228A3#FFFFFF#000000##FFFFFF
##8228A31.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#2356A0
Tritanopia (blue-blind)
#7F4364
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8228a3;
/* rgb */ color: rgb(130, 40, 163);
/* oklch */ color: oklch(47.2% 0.193 315.1);
Tailwind
colors: {
  custom: {
    50: '#aa6cbf',
    500: '#8228a3',
    950: '#000000',
  },
}
SCSS
$custom: #8228a3;
$custom-light: #aa6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8228a3",
  "rgb": {
    "r": 130,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 283.902,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47155,
    "c": 0.19298,
    "h": 315.1
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#8228A3
secondary
#7EC166
accent
#E4446F
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8228A3

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

Preview Lab → · Contrast checker → · Palette generator →

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