#A25ED5#A25ED5

#A25ED5 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 61.0% C 0.182 H 308.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A25ED5
RGBrgb(162, 94, 213)
HSLhsl(274, 59%, 60%)
HSVhsv(274, 56%, 84%)
CMYKcmyk(23.9%, 55.9%, 0%, 16.5%)
CIE-LABlab(52.39, 49.07, -50.72)
CIE-LCHlch(52.39, 70.57, 314.05°)
OKLaboklab(61.03% 0.1127 -0.1426)
OKLCHoklch(61.03% 0.182 308.3)
XYZxyz(30.9108, 20.4913, 65.2647)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25ED5 #91D55E
analogous
#665ED5 #A25ED5 #D55ECC
triadic
#A25ED5 #D5A25E #5ED5A2
tetradic
#A25ED5 #D5665E #91D55E #5ECCD5
square
#A25ED5 #D5665E #91D55E #5ECCD5
split-complementary
#A25ED5 #CCD55E #5ED566
monochromatic
#642692 #8533C3 #A25ED5 #BE8FE2 #DABFEE

Accessibility & contrast

On white

4.12
#A25ED5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#A25ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25ED5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25ED5#FFFFFF#000000##000000
##A25ED51.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#367AD9
Deuteranopia (green-blind)
#4F7ED2
Tritanopia (blue-blind)
#9B7491
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a25ed5;
/* rgb */ color: rgb(162, 94, 213);
/* oklch */ color: oklch(61.0% 0.182 308.3);
Tailwind
colors: {
  custom: {
    50: '#c08ee2',
    500: '#a25ed5',
    950: '#000000',
  },
}
SCSS
$custom: #a25ed5;
$custom-light: #c08ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ed5",
  "rgb": {
    "r": 162,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 274.286,
    "s": 58.621,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6103,
    "c": 0.18177,
    "h": 308.3
  },
  "luminance": 0.20491
}

Semantic roles & 50–950 ramp

primary
#A25ED5
secondary
#C4DEB1
accent
#C61F67
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A25ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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