#A25AE5#A25AE5

#A25AE5 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.5% C 0.205 H 305.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A25AE5
RGBrgb(162, 90, 229)
HSLhsl(271, 73%, 63%)
HSVhsv(271, 61%, 90%)
CMYKcmyk(29.3%, 60.7%, 0%, 10.2%)
CIE-LABlab(52.57, 54.80, -59.49)
CIE-LCHlch(52.57, 80.88, 312.65°)
OKLaboklab(61.46% 0.1177 -0.1683)
OKLCHoklch(61.46% 0.205 305)
XYZxyz(32.6962, 20.6510, 76.3771)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25AE5 #9DE55A
analogous
#5C5AE5 #A25AE5 #E55AE3
triadic
#A25AE5 #E5A25A #5AE5A2
tetradic
#A25AE5 #E55C5A #9DE55A #5AE3E5
square
#A25AE5 #E55C5A #9DE55A #5AE3E5
split-complementary
#A25AE5 #E3E55A #5AE55C
monochromatic
#651BAA #8425DD #A25AE5 #C08FED #DEC4F6

Accessibility & contrast

On white

4.09
#A25AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#A25AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25AE5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25AE5#FFFFFF#000000##000000
##A25AE51.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#077BE9
Deuteranopia (green-blind)
#3A7EE2
Tritanopia (blue-blind)
#967697
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a25ae5;
/* rgb */ color: rgb(162, 90, 229);
/* oklch */ color: oklch(61.5% 0.205 305.0);
Tailwind
colors: {
  custom: {
    50: '#c28cee',
    500: '#a25ae5',
    950: '#000000',
  },
}
SCSS
$custom: #a25ae5;
$custom-light: #c28cee;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ae5",
  "rgb": {
    "r": 162,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 271.079,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61464,
    "c": 0.20534,
    "h": 305
  },
  "luminance": 0.20651
}

Semantic roles & 50–950 ramp

primary
#A25AE5
secondary
#CCE7B4
accent
#D5116F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A25AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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