#A25AEB#A25AEB

#A25AEB is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.9% C 0.212 H 303.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A25AEB
RGBrgb(162, 90, 235)
HSLhsl(270, 78%, 64%)
HSVhsv(270, 62%, 92%)
CMYKcmyk(31.1%, 61.7%, 0%, 7.8%)
CIE-LABlab(52.94, 56.20, -62.26)
CIE-LCHlch(52.94, 83.87, 312.07°)
OKLaboklab(61.86% 0.1174 -0.1764)
OKLCHoklch(61.86% 0.212 303.6)
XYZxyz(33.5485, 20.9919, 80.8656)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25AEB #A3EB5A
analogous
#5A5AEB #A25AEB #EA5AEB
triadic
#A25AEB #EBA25A #5AEBA2
tetradic
#A25AEB #EB5A5A #A3EB5A #5AEBEA
square
#A25AEB #EB5A5A #A3EB5A #5AEBEA
split-complementary
#A25AEB #EBEA5A #5AEB5A
monochromatic
#6516B5 #8323E4 #A25AEB #C191F2 #E0C7F8

Accessibility & contrast

On white

4.04
#A25AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#A25AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25AEB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25AEB#FFFFFF#000000##000000
##A25AEB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#327EE8
Tritanopia (blue-blind)
#94789A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a25aeb;
/* rgb */ color: rgb(162, 90, 235);
/* oklch */ color: oklch(61.9% 0.212 303.6);
Tailwind
colors: {
  custom: {
    50: '#c28cf2',
    500: '#a25aeb',
    950: '#000000',
  },
}
SCSS
$custom: #a25aeb;
$custom-light: #c28cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a25aeb",
  "rgb": {
    "r": 162,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 269.793,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61856,
    "c": 0.21191,
    "h": 303.6
  },
  "luminance": 0.20992
}

Semantic roles & 50–950 ramp

primary
#A25AEB
secondary
#D1EAB7
accent
#DB0B73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A25AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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