#A25AEC#A25AEC

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

Color values

HEX#A25AEC
RGBrgb(162, 90, 236)
HSLhsl(270, 79%, 64%)
HSVhsv(270, 62%, 93%)
CMYKcmyk(31.4%, 61.9%, 0%, 7.5%)
CIE-LABlab(53.00, 56.43, -62.71)
CIE-LCHlch(53.00, 84.37, 311.98°)
OKLaboklab(61.92% 0.1174 -0.1778)
OKLCHoklch(61.92% 0.213 303.4)
XYZxyz(33.6933, 21.0499, 81.6286)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25AEC #A4EC5A
analogous
#5A5BEC #A25AEC #EB5AEC
triadic
#A25AEC #ECA25A #5AECA2
tetradic
#A25AEC #EC5A5B #A4EC5A #5AECEB
square
#A25AEC #EC5A5B #A4EC5A #5AECEB
split-complementary
#A25AEC #ECEB5A #5BEC5A
monochromatic
#6515B7 #8323E6 #A25AEC #C191F2 #E0C8F9

Accessibility & contrast

On white

4.03
#A25AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#A25AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25AEC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25AEC#FFFFFF#000000##000000
##A25AEC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#307EE9
Tritanopia (blue-blind)
#94799B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a25aec;
/* rgb */ color: rgb(162, 90, 236);
/* oklch */ color: oklch(61.9% 0.213 303.4);
Tailwind
colors: {
  custom: {
    50: '#c28cf3',
    500: '#a25aec',
    950: '#000000',
  },
}
SCSS
$custom: #a25aec;
$custom-light: #c28cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a25aec",
  "rgb": {
    "r": 162,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 269.589,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61922,
    "c": 0.21301,
    "h": 303.4
  },
  "luminance": 0.2105
}

Semantic roles & 50–950 ramp

primary
#A25AEC
secondary
#D1EBB7
accent
#DC0A74
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A25AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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