#8025A2#8025A2

#8025A2 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.195 H 314.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8025A2
RGBrgb(128, 37, 162)
HSLhsl(284, 63%, 39%)
HSVhsv(284, 77%, 64%)
CMYKcmyk(21%, 77.2%, 0%, 36.5%)
CIE-LABlab(35.05, 56.53, -48.96)
CIE-LCHlch(35.05, 74.79, 319.11°)
OKLaboklab(46.53% 0.137 -0.1382)
OKLCHoklch(46.53% 0.195 314.7)
XYZxyz(16.0842, 8.5215, 34.9730)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8025A2 #47A225
analogous
#4225A2 #8025A2 #A22586
triadic
#8025A2 #A28025 #25A280
tetradic
#8025A2 #A24225 #47A225 #2586A2
square
#8025A2 #A24225 #47A225 #2586A2
split-complementary
#8025A2 #86A225 #25A242
monochromatic
#310E3E #591A70 #8025A2 #A634D1 #BC65DC

Accessibility & contrast

On white

7.77
#8025A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8025A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8025A2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8025A2#FFFFFF#000000##FFFFFF
##8025A21.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#1E559F
Tritanopia (blue-blind)
#7D4163
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8025a2;
/* rgb */ color: rgb(128, 37, 162);
/* oklch */ color: oklch(46.5% 0.195 314.7);
Tailwind
colors: {
  custom: {
    50: '#a96abe',
    500: '#8025a2',
    950: '#000000',
  },
}
SCSS
$custom: #8025a2;
$custom-light: #a96abe;
$custom-dark: #000000;
JSON
{
  "hex": "#8025a2",
  "rgb": {
    "r": 128,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 283.68,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46532,
    "c": 0.19457,
    "h": 314.7
  },
  "luminance": 0.08521
}

Semantic roles & 50–950 ramp

primary
#8025A2
secondary
#7BC261
accent
#E6426F
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8025A2

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

Preview Lab → · Contrast checker → · Palette generator →

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