#A25EC2#A25EC2

#A25EC2 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 59.9% C 0.161 H 313.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A25EC2
RGBrgb(162, 94, 194)
HSLhsl(281, 45%, 56%)
HSVhsv(281, 52%, 76%)
CMYKcmyk(16.5%, 51.5%, 0%, 23.9%)
CIE-LABlab(51.36, 44.85, -41.48)
CIE-LCHlch(51.36, 61.09, 317.24°)
OKLaboklab(59.94% 0.1114 -0.1157)
OKLCHoklch(59.94% 0.161 313.9)
XYZxyz(28.6390, 19.5826, 53.2996)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25EC2 #7EC25E
analogous
#705EC2 #A25EC2 #C25EB0
triadic
#A25EC2 #C2A25E #5EC2A2
tetradic
#A25EC2 #C2705E #7EC25E #5EB0C2
square
#A25EC2 #C2705E #7EC25E #5EB0C2
split-complementary
#A25EC2 #B0C25E #5EC270
monochromatic
#602E78 #843EA4 #A25EC2 #BC8AD3 #D5B7E4

Accessibility & contrast

On white

4.27
#A25EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#A25EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25EC2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25EC2#FFFFFF#000000##000000
##A25EC21.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4777C5
Deuteranopia (green-blind)
#5C7CBF
Tritanopia (blue-blind)
#9F6E87
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a25ec2;
/* rgb */ color: rgb(162, 94, 194);
/* oklch */ color: oklch(59.9% 0.161 313.9);
Tailwind
colors: {
  custom: {
    50: '#c08ed5',
    500: '#a25ec2',
    950: '#000000',
  },
}
SCSS
$custom: #a25ec2;
$custom-light: #c08ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ec2",
  "rgb": {
    "r": 162,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 280.8,
    "s": 45.045,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59942,
    "c": 0.16058,
    "h": 313.9
  },
  "luminance": 0.19582
}

Semantic roles & 50–950 ramp

primary
#A25EC2
secondary
#B7D2A9
accent
#D5537D
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #A25EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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