#A25ECA#A25ECA

#A25ECA is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.4% C 0.169 H 311.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A25ECA
RGBrgb(162, 94, 202)
HSLhsl(278, 50%, 58%)
HSVhsv(278, 53%, 79%)
CMYKcmyk(19.8%, 53.5%, 0%, 20.8%)
CIE-LABlab(51.78, 46.60, -45.41)
CIE-LCHlch(51.78, 65.06, 315.74°)
OKLaboklab(60.39% 0.1121 -0.1271)
OKLCHoklch(60.39% 0.169 311.4)
XYZxyz(29.5617, 19.9517, 58.1594)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25ECA #86CA5E
analogous
#6C5ECA #A25ECA #CA5EBC
triadic
#A25ECA #CAA25E #5ECAA2
tetradic
#A25ECA #CA6C5E #86CA5E #5EBCCA
square
#A25ECA #CA6C5E #86CA5E #5EBCCA
split-complementary
#A25ECA #BCCA5E #5ECA6C
monochromatic
#622B83 #853AB1 #A25ECA #BD8CD9 #D7BAE8

Accessibility & contrast

On white

4.21
#A25ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#A25ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25ECA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25ECA#FFFFFF#000000##000000
##A25ECA1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4078CE
Deuteranopia (green-blind)
#577DC7
Tritanopia (blue-blind)
#9D708B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a25eca;
/* rgb */ color: rgb(162, 94, 202);
/* oklch */ color: oklch(60.4% 0.169 311.4);
Tailwind
colors: {
  custom: {
    50: '#c08eda',
    500: '#a25eca',
    950: '#000000',
  },
}
SCSS
$custom: #a25eca;
$custom-light: #c08eda;
$custom-dark: #000000;
JSON
{
  "hex": "#a25eca",
  "rgb": {
    "r": 162,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 277.778,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60389,
    "c": 0.16946,
    "h": 311.4
  },
  "luminance": 0.19951
}

Semantic roles & 50–950 ramp

primary
#A25ECA
secondary
#BCD7AC
accent
#DA4E82
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #A25ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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