#A25AE9#A25AE9

#A25AE9 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.7% C 0.210 H 304.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A25AE9
RGBrgb(162, 90, 233)
HSLhsl(270, 76%, 63%)
HSVhsv(270, 61%, 91%)
CMYKcmyk(30.5%, 61.4%, 0%, 8.6%)
CIE-LABlab(52.81, 55.73, -61.34)
CIE-LCHlch(52.81, 82.87, 312.26°)
OKLaboklab(61.72% 0.1175 -0.1737)
OKLCHoklch(61.72% 0.21 304.1)
XYZxyz(33.2611, 20.8770, 79.3524)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25AE9 #A1E95A
analogous
#5A5AE9 #A25AE9 #E95AE8
triadic
#A25AE9 #E9A25A #5AE9A2
tetradic
#A25AE9 #E95A5A #A1E95A #5AE8E9
square
#A25AE9 #E95A5A #A1E95A #5AE8E9
split-complementary
#A25AE9 #E8E95A #5AE95A
monochromatic
#6518B1 #8424E2 #A25AE9 #C090F0 #DFC6F7

Accessibility & contrast

On white

4.06
#A25AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#A25AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25AE9
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25AE9#FFFFFF#000000##000000
##A25AE91.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CED
Deuteranopia (green-blind)
#347EE6
Tritanopia (blue-blind)
#957899
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a25ae9;
/* rgb */ color: rgb(162, 90, 233);
/* oklch */ color: oklch(61.7% 0.210 304.1);
Tailwind
colors: {
  custom: {
    50: '#c28cf1',
    500: '#a25ae9',
    950: '#000000',
  },
}
SCSS
$custom: #a25ae9;
$custom-light: #c28cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ae9",
  "rgb": {
    "r": 162,
    "g": 90,
    "b": 233
  },
  "hsl": {
    "h": 270.21,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61724,
    "c": 0.20973,
    "h": 304.1
  },
  "luminance": 0.20877
}

Semantic roles & 50–950 ramp

primary
#A25AE9
secondary
#CFE9B6
accent
#D90D72
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A25AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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