#A25EE4#A25EE4

#A25EE4 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 62.0% C 0.199 H 304.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A25EE4
RGBrgb(162, 94, 228)
HSLhsl(270, 71%, 63%)
HSVhsv(270, 59%, 89%)
CMYKcmyk(28.9%, 58.8%, 0%, 10.6%)
CIE-LABlab(53.26, 52.53, -57.80)
CIE-LCHlch(53.26, 78.11, 312.26°)
OKLaboklab(61.95% 0.1129 -0.1634)
OKLCHoklch(61.95% 0.199 304.7)
XYZxyz(32.9035, 21.2884, 75.7594)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25EE4 #A0E45E
analogous
#5F5EE4 #A25EE4 #E45EE3
triadic
#A25EE4 #E4A25E #5EE4A2
tetradic
#A25EE4 #E45F5E #A0E45E #5EE3E4
square
#A25EE4 #E45F5E #A0E45E #5EE3E4
split-complementary
#A25EE4 #E3E45E #5EE45F
monochromatic
#651DAB #842ADB #A25EE4 #C092ED #DFC7F6

Accessibility & contrast

On white

3.99
#A25EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#A25EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25EE4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25EE4#FFFFFF#000000##000000
##A25EE41.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7DE8
Deuteranopia (green-blind)
#417FE1
Tritanopia (blue-blind)
#967998
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a25ee4;
/* rgb */ color: rgb(162, 94, 228);
/* oklch */ color: oklch(62.0% 0.199 304.7);
Tailwind
colors: {
  custom: {
    50: '#c18fed',
    500: '#a25ee4',
    950: '#000000',
  },
}
SCSS
$custom: #a25ee4;
$custom-light: #c18fed;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ee4",
  "rgb": {
    "r": 162,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 270.448,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61953,
    "c": 0.19858,
    "h": 304.7
  },
  "luminance": 0.21288
}

Semantic roles & 50–950 ramp

primary
#A25EE4
secondary
#CFE7B7
accent
#D31271
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A25EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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