#A8259E#A8259E

#A8259E is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.208 H 331.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A8259E
RGBrgb(168, 37, 158)
HSLhsl(305, 64%, 40%)
HSVhsv(305, 78%, 66%)
CMYKcmyk(0%, 78%, 6%, 34.1%)
CIE-LABlab(41.40, 64.06, -36.01)
CIE-LCHlch(41.40, 73.49, 330.66°)
OKLaboklab(52.26% 0.1833 -0.0992)
OKLCHoklch(52.26% 0.208 331.6)
XYZxyz(22.9816, 12.1185, 33.4698)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8259E #25A82F
analogous
#7025A8 #A8259E #A8255D
triadic
#A8259E #9EA825 #259EA8
tetradic
#A8259E #A87025 #25A82F #255DA8
square
#A8259E #A87025 #25A82F #255DA8
split-complementary
#A8259E #5DA825 #25A870
monochromatic
#440F40 #761A6F #A8259E #D337C7 #DE69D5

Accessibility & contrast

On white

6.13
#A8259E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A8259E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8259E
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8259E#FFFFFF#000000##FFFFFF
##A8259E1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1856A1
Deuteranopia (green-blind)
#51689B
Tritanopia (blue-blind)
#AF3661
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a8259e;
/* rgb */ color: rgb(168, 37, 158);
/* oklch */ color: oklch(52.3% 0.208 331.6);
Tailwind
colors: {
  custom: {
    50: '#c66fbb',
    500: '#a8259e',
    950: '#000000',
  },
}
SCSS
$custom: #a8259e;
$custom-light: #c66fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#a8259e",
  "rgb": {
    "r": 168,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 304.58,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52255,
    "c": 0.20847,
    "h": 331.6
  },
  "luminance": 0.12117
}

Semantic roles & 50–950 ramp

primary
#A8259E
secondary
#65C46C
accent
#E74E41
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A8259E

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

Preview Lab → · Contrast checker → · Palette generator →

#A8259E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva