#A8259B#A8259B

#A8259B is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.206 H 332.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A8259B
RGBrgb(168, 37, 155)
HSLhsl(306, 64%, 40%)
HSVhsv(306, 78%, 66%)
CMYKcmyk(0%, 78%, 7.7%, 34.1%)
CIE-LABlab(41.24, 63.60, -34.45)
CIE-LCHlch(41.24, 72.34, 331.56°)
OKLaboklab(52.09% 0.1833 -0.0947)
OKLCHoklch(52.09% 0.206 332.7)
XYZxyz(22.7265, 12.0165, 32.1265)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8259B #25A832
analogous
#7325A8 #A8259B #A8255A
triadic
#A8259B #9BA825 #259BA8
tetradic
#A8259B #A87325 #25A832 #255AA8
square
#A8259B #A87325 #25A832 #255AA8
split-complementary
#A8259B #5AA825 #25A873
monochromatic
#440F3E #761A6D #A8259B #D337C4 #DE69D2

Accessibility & contrast

On white

6.17
#A8259B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A8259B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8259B
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8259B#FFFFFF#000000##FFFFFF
##A8259B1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D559E
Deuteranopia (green-blind)
#526898
Tritanopia (blue-blind)
#B0345F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8259b;
/* rgb */ color: rgb(168, 37, 155);
/* oklch */ color: oklch(52.1% 0.206 332.7);
Tailwind
colors: {
  custom: {
    50: '#c66fb9',
    500: '#a8259b',
    950: '#000000',
  },
}
SCSS
$custom: #a8259b;
$custom-light: #c66fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8259b",
  "rgb": {
    "r": 168,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 305.954,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52088,
    "c": 0.2063,
    "h": 332.7
  },
  "luminance": 0.12015
}

Semantic roles & 50–950 ramp

primary
#A8259B
secondary
#65C46E
accent
#E75141
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A8259B

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

Preview Lab → · Contrast checker → · Palette generator →

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