#A8259F#A8259F

#A8259F is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.209 H 331.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A8259F
RGBrgb(168, 37, 159)
HSLhsl(304, 64%, 40%)
HSVhsv(304, 78%, 66%)
CMYKcmyk(0%, 78%, 5.4%, 34.1%)
CIE-LABlab(41.46, 64.22, -36.52)
CIE-LCHlch(41.46, 73.88, 330.37°)
OKLaboklab(52.31% 0.1834 -0.1007)
OKLCHoklch(52.31% 0.209 331.2)
XYZxyz(23.0680, 12.1531, 33.9250)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8259F #25A82E
analogous
#6F25A8 #A8259F #A8255E
triadic
#A8259F #9FA825 #259FA8
tetradic
#A8259F #A86F25 #25A82E #255EA8
square
#A8259F #A86F25 #25A82E #255EA8
split-complementary
#A8259F #5EA825 #25A86F
monochromatic
#440F40 #761A70 #A8259F #D337C8 #DE69D6

Accessibility & contrast

On white

6.12
#A8259F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A8259F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8259F
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8259F#FFFFFF#000000##FFFFFF
##A8259F1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A2
Deuteranopia (green-blind)
#50689C
Tritanopia (blue-blind)
#AF3761
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a8259f;
/* rgb */ color: rgb(168, 37, 159);
/* oklch */ color: oklch(52.3% 0.209 331.2);
Tailwind
colors: {
  custom: {
    50: '#c66fbc',
    500: '#a8259f',
    950: '#000000',
  },
}
SCSS
$custom: #a8259f;
$custom-light: #c66fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a8259f",
  "rgb": {
    "r": 168,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 304.122,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52312,
    "c": 0.20919,
    "h": 331.2
  },
  "luminance": 0.12151
}

Semantic roles & 50–950 ramp

primary
#A8259F
secondary
#65C46B
accent
#E74C41
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A8259F

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

Preview Lab → · Contrast checker → · Palette generator →

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