#A259EC#A259EC

#A259EC is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.8% C 0.214 H 303.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A259EC
RGBrgb(162, 89, 236)
HSLhsl(270, 79%, 64%)
HSVhsv(270, 62%, 93%)
CMYKcmyk(31.4%, 62.3%, 0%, 7.5%)
CIE-LABlab(52.82, 56.93, -63.01)
CIE-LCHlch(52.82, 84.92, 312.10°)
OKLaboklab(61.79% 0.1185 -0.1786)
OKLCHoklch(61.79% 0.214 303.6)
XYZxyz(33.6095, 20.8823, 81.6007)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A259EC #A3EC59
analogous
#5959EC #A259EC #EB59EC
triadic
#A259EC #ECA259 #59ECA2
tetradic
#A259EC #EC5959 #A3EC59 #59ECEB
square
#A259EC #EC5959 #A3EC59 #59ECEB
split-complementary
#A259EC #ECEB59 #59EC59
monochromatic
#6515B6 #8322E6 #A259EC #C190F2 #E0C7F9

Accessibility & contrast

On white

4.06
#A259EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#A259EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A259EC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A259EC#FFFFFF#000000##000000
##A259EC1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#2E7EE9
Tritanopia (blue-blind)
#94789B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a259ec;
/* rgb */ color: rgb(162, 89, 236);
/* oklch */ color: oklch(61.8% 0.214 303.6);
Tailwind
colors: {
  custom: {
    50: '#c28cf3',
    500: '#a259ec',
    950: '#000000',
  },
}
SCSS
$custom: #a259ec;
$custom-light: #c28cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a259ec",
  "rgb": {
    "r": 162,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 269.796,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61789,
    "c": 0.21436,
    "h": 303.6
  },
  "luminance": 0.20882
}

Semantic roles & 50–950 ramp

primary
#A259EC
secondary
#D1EAB6
accent
#DC0A73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A259EC

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

Preview Lab → · Contrast checker → · Palette generator →

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