#A25FAC#A25FAC

#A25FAC is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.0% C 0.135 H 322.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A25FAC
RGBrgb(162, 95, 172)
HSLhsl(292, 32%, 52%)
HSVhsv(292, 45%, 67%)
CMYKcmyk(5.8%, 44.8%, 0%, 32.5%)
CIE-LABlab(50.51, 39.72, -30.07)
CIE-LCHlch(50.51, 49.82, 322.88°)
OKLaboklab(58.96% 0.1068 -0.0827)
OKLCHoklch(58.96% 0.135 322.2)
XYZxyz(26.4381, 18.8454, 41.2666)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25FAC #69AC5F
analogous
#7C5FAC #A25FAC #AC5F8F
triadic
#A25FAC #ACA25F #5FACA2
tetradic
#A25FAC #AC7C5F #69AC5F #5F8FAC
square
#A25FAC #AC7C5F #69AC5F #5F8FAC
split-complementary
#A25FAC #8FAC5F #5FAC7C
monochromatic
#59315F #7F4688 #A25FAC #B987C1 #D1B0D6

Accessibility & contrast

On white

4.40
#A25FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A25FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25FAC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25FAC#FFFFFF#000000##000000
##A25FAC1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5573AF
Deuteranopia (green-blind)
#687BAA
Tritanopia (blue-blind)
#A4687D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a25fac;
/* rgb */ color: rgb(162, 95, 172);
/* oklch */ color: oklch(59.0% 0.135 322.2);
Tailwind
colors: {
  custom: {
    50: '#bf8ec5',
    500: '#a25fac',
    950: '#000000',
  },
}
SCSS
$custom: #a25fac;
$custom-light: #bf8ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#a25fac",
  "rgb": {
    "r": 162,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 292.208,
    "s": 31.687,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58959,
    "c": 0.13506,
    "h": 322.2
  },
  "luminance": 0.18844
}

Semantic roles & 50–950 ramp

primary
#A25FAC
secondary
#A7C4A3
accent
#C8606D
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #A25FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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