#8025A7#8025A7

#8025A7 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.199 H 313.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8025A7
RGBrgb(128, 37, 167)
HSLhsl(282, 64%, 40%)
HSVhsv(282, 78%, 65%)
CMYKcmyk(23.4%, 77.8%, 0%, 34.5%)
CIE-LABlab(35.41, 57.56, -51.39)
CIE-LCHlch(35.41, 77.16, 318.24°)
OKLaboklab(46.9% 0.1361 -0.1453)
OKLCHoklch(46.9% 0.199 313.1)
XYZxyz(16.5375, 8.7029, 37.3604)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8025A7 #4CA725
analogous
#3F25A7 #8025A7 #A7258D
triadic
#8025A7 #A78025 #25A780
tetradic
#8025A7 #A73F25 #4CA725 #258DA7
square
#8025A7 #A73F25 #4CA725 #258DA7
split-complementary
#8025A7 #8DA725 #25A73F
monochromatic
#330F43 #5A1A75 #8025A7 #A437D3 #BB69DE

Accessibility & contrast

On white

7.66
#8025A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8025A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8025A7
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8025A7#FFFFFF#000000##FFFFFF
##8025A71.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#1455A4
Tritanopia (blue-blind)
#7C4465
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8025a7;
/* rgb */ color: rgb(128, 37, 167);
/* oklch */ color: oklch(46.9% 0.199 313.1);
Tailwind
colors: {
  custom: {
    50: '#a96ac2',
    500: '#8025a7',
    950: '#000000',
  },
}
SCSS
$custom: #8025a7;
$custom-light: #a96ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#8025a7",
  "rgb": {
    "r": 128,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 282,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.46899,
    "c": 0.19911,
    "h": 313.1
  },
  "luminance": 0.08702
}

Semantic roles & 50–950 ramp

primary
#8025A7
secondary
#81C464
accent
#E74173
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8025A7

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

Preview Lab → · Contrast checker → · Palette generator →

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