#A8259D#A8259D

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

Color values

HEX#A8259D
RGBrgb(168, 37, 157)
HSLhsl(305, 64%, 40%)
HSVhsv(305, 78%, 66%)
CMYKcmyk(0%, 78%, 6.5%, 34.1%)
CIE-LABlab(41.35, 63.91, -35.49)
CIE-LCHlch(41.35, 73.10, 330.96°)
OKLaboklab(52.2% 0.1833 -0.0977)
OKLCHoklch(52.2% 0.208 331.9)
XYZxyz(22.8959, 12.0842, 33.0184)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8259D #25A830
analogous
#7125A8 #A8259D #A8255C
triadic
#A8259D #9DA825 #259DA8
tetradic
#A8259D #A87125 #25A830 #255CA8
square
#A8259D #A87125 #25A830 #255CA8
split-complementary
#A8259D #5CA825 #25A871
monochromatic
#440F3F #761A6E #A8259D #D337C6 #DE69D4

Accessibility & contrast

On white

6.15
#A8259D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8259D
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8259D#FFFFFF#000000##FFFFFF
##A8259D1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A56A0
Deuteranopia (green-blind)
#51689A
Tritanopia (blue-blind)
#AF3660
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8259d;
/* rgb */ color: rgb(168, 37, 157);
/* oklch */ color: oklch(52.2% 0.208 331.9);
Tailwind
colors: {
  custom: {
    50: '#c66fba',
    500: '#a8259d',
    950: '#000000',
  },
}
SCSS
$custom: #a8259d;
$custom-light: #c66fba;
$custom-dark: #000000;
JSON
{
  "hex": "#a8259d",
  "rgb": {
    "r": 168,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 305.038,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52199,
    "c": 0.20774,
    "h": 331.9
  },
  "luminance": 0.12082
}

Semantic roles & 50–950 ramp

primary
#A8259D
secondary
#65C46D
accent
#E74F41
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A8259D

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

Preview Lab → · Contrast checker → · Palette generator →

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