#A25AEA#A25AEA

#A25AEA is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.8% C 0.211 H 303.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A25AEA
RGBrgb(162, 90, 234)
HSLhsl(270, 77%, 64%)
HSVhsv(270, 62%, 92%)
CMYKcmyk(30.8%, 61.5%, 0%, 8.2%)
CIE-LABlab(52.88, 55.97, -61.80)
CIE-LCHlch(52.88, 83.37, 312.17°)
OKLaboklab(61.79% 0.1175 -0.1751)
OKLCHoklch(61.79% 0.211 303.9)
XYZxyz(33.4044, 20.9343, 80.1069)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25AEA #A2EA5A
analogous
#5A5AEA #A25AEA #EA5AEA
triadic
#A25AEA #EAA25A #5AEAA2
tetradic
#A25AEA #EA5A5A #A2EA5A #5AEAEA
square
#A25AEA #EA5A5A #A2EA5A #5AEAEA
split-complementary
#A25AEA #EAEA5A #5AEA5A
monochromatic
#6517B3 #8324E3 #A25AEA #C190F1 #DFC7F8

Accessibility & contrast

On white

4.05
#A25AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#A25AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25AEA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25AEA#FFFFFF#000000##000000
##A25AEA1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#337EE7
Tritanopia (blue-blind)
#95789A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a25aea;
/* rgb */ color: rgb(162, 90, 234);
/* oklch */ color: oklch(61.8% 0.211 303.9);
Tailwind
colors: {
  custom: {
    50: '#c28cf1',
    500: '#a25aea',
    950: '#000000',
  },
}
SCSS
$custom: #a25aea;
$custom-light: #c28cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a25aea",
  "rgb": {
    "r": 162,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 270,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6179,
    "c": 0.21082,
    "h": 303.9
  },
  "luminance": 0.20934
}

Semantic roles & 50–950 ramp

primary
#A25AEA
secondary
#D0E9B6
accent
#DA0C73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A25AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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