#8225A2#8225A2

#8225A2 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.195 H 315.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8225A2
RGBrgb(130, 37, 162)
HSLhsl(285, 63%, 39%)
HSVhsv(285, 77%, 64%)
CMYKcmyk(19.8%, 77.2%, 0%, 36.5%)
CIE-LABlab(35.36, 56.92, -48.44)
CIE-LCHlch(35.36, 74.74, 319.60°)
OKLaboklab(46.81% 0.1395 -0.1366)
OKLCHoklch(46.81% 0.195 315.6)
XYZxyz(16.3880, 8.6782, 34.9872)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8225A2 #45A225
analogous
#4425A2 #8225A2 #A22584
triadic
#8225A2 #A28225 #25A282
tetradic
#8225A2 #A24425 #45A225 #2584A2
square
#8225A2 #A24425 #45A225 #2584A2
split-complementary
#8225A2 #84A225 #25A244
monochromatic
#320E3E #5A1A70 #8225A2 #A834D1 #BE65DC

Accessibility & contrast

On white

7.68
#8225A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8225A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8225A2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8225A2#FFFFFF#000000##FFFFFF
##8225A21.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#21569F
Tritanopia (blue-blind)
#804163
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8225a2;
/* rgb */ color: rgb(130, 37, 162);
/* oklch */ color: oklch(46.8% 0.195 315.6);
Tailwind
colors: {
  custom: {
    50: '#aa6abe',
    500: '#8225a2',
    950: '#000000',
  },
}
SCSS
$custom: #8225a2;
$custom-light: #aa6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#8225a2",
  "rgb": {
    "r": 130,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 284.64,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46814,
    "c": 0.19528,
    "h": 315.6
  },
  "luminance": 0.08678
}

Semantic roles & 50–950 ramp

primary
#8225A2
secondary
#7AC261
accent
#E6426C
background
#FAF6FB
surface
#F5ECF7
border
#CFC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8225A2

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

Preview Lab → · Contrast checker → · Palette generator →

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