#A25CA2#A25CA2

#A25CA2 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.0% C 0.130 H 327.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A25CA2
RGBrgb(162, 92, 162)
HSLhsl(300, 28%, 50%)
HSVhsv(300, 43%, 64%)
CMYKcmyk(0%, 43.2%, 0%, 36.5%)
CIE-LABlab(49.43, 39.39, -25.88)
CIE-LCHlch(49.43, 47.13, 326.69°)
OKLaboklab(58.01% 0.1093 -0.0707)
OKLCHoklch(58.01% 0.13 327.1)
XYZxyz(25.2485, 17.9455, 36.3093)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CA2 #5CA25C
analogous
#7F5CA2 #A25CA2 #A25C7F
triadic
#A25CA2 #A2A25C #5CA2A2
tetradic
#A25CA2 #A27F5C #5CA25C #5C7FA2
square
#A25CA2 #A27F5C #5CA25C #5C7FA2
split-complementary
#A25CA2 #7FA25C #5CA27F
monochromatic
#543054 #7B467B #A25CA2 #B883B8 #CFAACF

Accessibility & contrast

On white

4.58
#A25CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A25CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CA2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CA2#FFFFFF#000000##000000
##A25CA21.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5670A4
Deuteranopia (green-blind)
#6979A0
Tritanopia (blue-blind)
#A66377
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a25ca2;
/* rgb */ color: rgb(162, 92, 162);
/* oklch */ color: oklch(58.0% 0.130 327.1);
Tailwind
colors: {
  custom: {
    50: '#bf8cbd',
    500: '#a25ca2',
    950: '#000000',
  },
}
SCSS
$custom: #a25ca2;
$custom-light: #bf8cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ca2",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 27.559,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5801,
    "c": 0.13017,
    "h": 327.1
  },
  "luminance": 0.17944
}

Semantic roles & 50–950 ramp

primary
#A25CA2
secondary
#9DBD9D
accent
#C46464
background
#FBF8FB
surface
#F7F0F6
border
#D0CBD0
text
#120C12
muted
#817D81

Preview Lab

Preview with #A25CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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