#A25ECD#A25ECD

#A25ECD is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.6% C 0.173 H 310.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A25ECD
RGBrgb(162, 94, 205)
HSLhsl(277, 53%, 59%)
HSVhsv(277, 54%, 80%)
CMYKcmyk(21%, 54.1%, 0%, 19.6%)
CIE-LABlab(51.94, 47.27, -46.87)
CIE-LCHlch(51.94, 66.56, 315.24°)
OKLaboklab(60.56% 0.1123 -0.1313)
OKLCHoklch(60.56% 0.173 310.5)
XYZxyz(29.9204, 20.0951, 60.0483)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25ECD #89CD5E
analogous
#6A5ECD #A25ECD #CD5EC0
triadic
#A25ECD #CDA25E #5ECDA2
tetradic
#A25ECD #CD6A5E #89CD5E #5EC0CD
square
#A25ECD #CD6A5E #89CD5E #5EC0CD
split-complementary
#A25ECD #C0CD5E #5ECD6A
monochromatic
#632A87 #8538B5 #A25ECD #BD8DDC #D8BBEA

Accessibility & contrast

On white

4.18
#A25ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A25ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25ECD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25ECD#FFFFFF#000000##000000
##A25ECD1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D1
Deuteranopia (green-blind)
#557DCA
Tritanopia (blue-blind)
#9D718D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a25ecd;
/* rgb */ color: rgb(162, 94, 205);
/* oklch */ color: oklch(60.6% 0.173 310.5);
Tailwind
colors: {
  custom: {
    50: '#c08edd',
    500: '#a25ecd',
    950: '#000000',
  },
}
SCSS
$custom: #a25ecd;
$custom-light: #c08edd;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ecd",
  "rgb": {
    "r": 162,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 276.757,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60561,
    "c": 0.17281,
    "h": 310.5
  },
  "luminance": 0.20095
}

Semantic roles & 50–950 ramp

primary
#A25ECD
secondary
#BED9AD
accent
#DC4C84
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A25ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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