#A25ED2#A25ED2

#A25ED2 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.9% C 0.178 H 309.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A25ED2
RGBrgb(162, 94, 210)
HSLhsl(275, 56%, 60%)
HSVhsv(275, 55%, 82%)
CMYKcmyk(22.9%, 55.2%, 0%, 17.6%)
CIE-LABlab(52.22, 48.39, -49.28)
CIE-LCHlch(52.22, 69.07, 314.48°)
OKLaboklab(60.85% 0.1126 -0.1384)
OKLCHoklch(60.85% 0.178 309.1)
XYZxyz(30.5336, 20.3404, 63.2779)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25ED2 #8ED25E
analogous
#685ED2 #A25ED2 #D25EC8
triadic
#A25ED2 #D2A25E #5ED2A2
tetradic
#A25ED2 #D2685E #8ED25E #5EC8D2
square
#A25ED2 #D2685E #8ED25E #5EC8D2
split-complementary
#A25ED2 #C8D25E #5ED268
monochromatic
#64288E #8535BE #A25ED2 #BE8EDF #D9BEED

Accessibility & contrast

On white

4.14
#A25ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A25ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25ED2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25ED2#FFFFFF#000000##000000
##A25ED21.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#397AD6
Deuteranopia (green-blind)
#517ECF
Tritanopia (blue-blind)
#9B738F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a25ed2;
/* rgb */ color: rgb(162, 94, 210);
/* oklch */ color: oklch(60.9% 0.178 309.1);
Tailwind
colors: {
  custom: {
    50: '#c08ee0',
    500: '#a25ed2',
    950: '#000000',
  },
}
SCSS
$custom: #a25ed2;
$custom-light: #c08ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ed2",
  "rgb": {
    "r": 162,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 275.172,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60852,
    "c": 0.17841,
    "h": 309.1
  },
  "luminance": 0.2034
}

Semantic roles & 50–950 ramp

primary
#A25ED2
secondary
#C2DCAF
accent
#E04887
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A25ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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