#A25EC7#A25EC7

#A25EC7 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.2% C 0.166 H 312.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A25EC7
RGBrgb(162, 94, 199)
HSLhsl(279, 48%, 57%)
HSVhsv(279, 53%, 78%)
CMYKcmyk(18.6%, 52.8%, 0%, 22%)
CIE-LABlab(51.62, 45.94, -43.94)
CIE-LCHlch(51.62, 63.57, 316.27°)
OKLaboklab(60.22% 0.1119 -0.1228)
OKLCHoklch(60.22% 0.166 312.3)
XYZxyz(29.2100, 19.8110, 56.3069)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25EC7 #83C75E
analogous
#6D5EC7 #A25EC7 #C75EB8
triadic
#A25EC7 #C7A25E #5EC7A2
tetradic
#A25EC7 #C76D5E #83C75E #5EB8C7
square
#A25EC7 #C76D5E #83C75E #5EB8C7
split-complementary
#A25EC7 #B8C75E #5EC76D
monochromatic
#612C7F #843CAC #A25EC7 #BC8BD7 #D6B9E7

Accessibility & contrast

On white

4.23
#A25EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A25EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25EC7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25EC7#FFFFFF#000000##000000
##A25EC71.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4377CB
Deuteranopia (green-blind)
#597DC4
Tritanopia (blue-blind)
#9E6F8A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a25ec7;
/* rgb */ color: rgb(162, 94, 199);
/* oklch */ color: oklch(60.2% 0.166 312.3);
Tailwind
colors: {
  custom: {
    50: '#c08ed8',
    500: '#a25ec7',
    950: '#000000',
  },
}
SCSS
$custom: #a25ec7;
$custom-light: #c08ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ec7",
  "rgb": {
    "r": 162,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 278.857,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60219,
    "c": 0.16612,
    "h": 312.3
  },
  "luminance": 0.1981
}

Semantic roles & 50–950 ramp

primary
#A25EC7
secondary
#BAD6AB
accent
#D85080
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #A25EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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