#A25FA2#A25FA2

#A25FA2 is a mid, vivid purple. Relative luminance 0.185; OKLCH L 58.5% C 0.125 H 327.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A25FA2
RGBrgb(162, 95, 162)
HSLhsl(300, 26%, 50%)
HSVhsv(300, 41%, 64%)
CMYKcmyk(0%, 41.4%, 0%, 36.5%)
CIE-LABlab(50.07, 37.76, -24.89)
CIE-LCHlch(50.07, 45.23, 326.61°)
OKLaboklab(58.49% 0.1047 -0.0679)
OKLCHoklch(58.49% 0.125 327)
XYZxyz(25.5136, 18.4756, 36.3977)
Luminance0.1847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25FA2 #5FA25F
analogous
#805FA2 #A25FA2 #A25F80
triadic
#A25FA2 #A2A25F #5FA2A2
tetradic
#A25FA2 #A2805F #5FA25F #5F80A2
square
#A25FA2 #A2805F #5FA25F #5F80A2
split-complementary
#A25FA2 #80A25F #5FA280
monochromatic
#553155 #7C487C #A25FA2 #B886B8 #CFACCF

Accessibility & contrast

On white

4.47
#A25FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#A25FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25FA2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25FA2#FFFFFF#000000##000000
##A25FA21.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A4
Deuteranopia (green-blind)
#6C7AA0
Tritanopia (blue-blind)
#A66679
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a25fa2;
/* rgb */ color: rgb(162, 95, 162);
/* oklch */ color: oklch(58.5% 0.125 327.0);
Tailwind
colors: {
  custom: {
    50: '#bf8ebd',
    500: '#a25fa2',
    950: '#000000',
  },
}
SCSS
$custom: #a25fa2;
$custom-light: #bf8ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#a25fa2",
  "rgb": {
    "r": 162,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 26.482,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58488,
    "c": 0.12482,
    "h": 327
  },
  "luminance": 0.18474
}

Semantic roles & 50–950 ramp

primary
#A25FA2
secondary
#9FBD9F
accent
#C36565
background
#FBF8FB
surface
#F7F0F6
border
#D0CBD0
text
#120C12
muted
#817D81

Preview Lab

Preview with #A25FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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