#A25ABB#A25ABB

#A25ABB is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.0% C 0.159 H 316.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A25ABB
RGBrgb(162, 90, 187)
HSLhsl(285, 42%, 54%)
HSVhsv(285, 52%, 73%)
CMYKcmyk(13.4%, 51.9%, 0%, 26.7%)
CIE-LABlab(50.20, 45.48, -39.28)
CIE-LCHlch(50.20, 60.09, 319.18°)
OKLaboklab(58.96% 0.1162 -0.1092)
OKLCHoklch(58.96% 0.159 316.8)
XYZxyz(27.5248, 18.5825, 49.1409)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25ABB #73BB5A
analogous
#725ABB #A25ABB #BB5AA4
triadic
#A25ABB #BBA25A #5ABBA2
tetradic
#A25ABB #BB725A #73BB5A #5AA4BB
square
#A25ABB #BB725A #73BB5A #5AA4BB
split-complementary
#A25ABB #A4BB5A #5ABB72
monochromatic
#5D2D6D #823F99 #A25ABB #BA85CD #D3B1DF

Accessibility & contrast

On white

4.45
#A25ABB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A25ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25ABB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25ABB#FFFFFF#000000##000000
##A25ABB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4673BE
Deuteranopia (green-blind)
#5C7AB8
Tritanopia (blue-blind)
#A16982
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a25abb;
/* rgb */ color: rgb(162, 90, 187);
/* oklch */ color: oklch(59.0% 0.159 316.8);
Tailwind
colors: {
  custom: {
    50: '#c08bd0',
    500: '#a25abb',
    950: '#000000',
  },
}
SCSS
$custom: #a25abb;
$custom-light: #c08bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a25abb",
  "rgb": {
    "r": 162,
    "g": 90,
    "b": 187
  },
  "hsl": {
    "h": 284.536,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58963,
    "c": 0.15949,
    "h": 316.8
  },
  "luminance": 0.18582
}

Semantic roles & 50–950 ramp

primary
#A25ABB
secondary
#AECDA4
accent
#D15676
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A25ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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