#A25ECF#A25ECF

#A25ECF is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.7% C 0.175 H 310.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A25ECF
RGBrgb(162, 94, 207)
HSLhsl(276, 54%, 59%)
HSVhsv(276, 55%, 81%)
CMYKcmyk(21.7%, 54.6%, 0%, 18.8%)
CIE-LABlab(52.05, 47.71, -47.83)
CIE-LCHlch(52.05, 67.56, 314.93°)
OKLaboklab(60.68% 0.1124 -0.1342)
OKLCHoklch(60.68% 0.175 310)
XYZxyz(30.1634, 20.1923, 61.3279)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25ECF #8BCF5E
analogous
#6A5ECF #A25ECF #CF5EC4
triadic
#A25ECF #CFA25E #5ECFA2
tetradic
#A25ECF #CF6A5E #8BCF5E #5EC4CF
square
#A25ECF #CF6A5E #8BCF5E #5EC4CF
split-complementary
#A25ECF #C4CF5E #5ECF6A
monochromatic
#63298A #8537B9 #A25ECF #BD8DDD #D8BCEB

Accessibility & contrast

On white

4.17
#A25ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A25ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25ECF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25ECF#FFFFFF#000000##000000
##A25ECF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C79D3
Deuteranopia (green-blind)
#537DCC
Tritanopia (blue-blind)
#9C728E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a25ecf;
/* rgb */ color: rgb(162, 94, 207);
/* oklch */ color: oklch(60.7% 0.175 310.0);
Tailwind
colors: {
  custom: {
    50: '#c08ede',
    500: '#a25ecf',
    950: '#000000',
  },
}
SCSS
$custom: #a25ecf;
$custom-light: #c08ede;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ecf",
  "rgb": {
    "r": 162,
    "g": 94,
    "b": 207
  },
  "hsl": {
    "h": 276.106,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60677,
    "c": 0.17506,
    "h": 310
  },
  "luminance": 0.20192
}

Semantic roles & 50–950 ramp

primary
#A25ECF
secondary
#C0DBAE
accent
#DD4A85
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A25ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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