#A259DC#A259DC

#A259DC is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.8% C 0.197 H 307.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A259DC
RGBrgb(162, 89, 220)
HSLhsl(273, 65%, 61%)
HSVhsv(273, 60%, 86%)
CMYKcmyk(26.4%, 59.5%, 0%, 13.7%)
CIE-LABlab(51.83, 53.23, -55.58)
CIE-LCHlch(51.83, 76.96, 313.76°)
OKLaboklab(60.75% 0.1191 -0.1568)
OKLCHoklch(60.75% 0.197 307.2)
XYZxyz(31.3883, 19.9938, 69.9019)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A259DC #93DC59
analogous
#6059DC #A259DC #DC59D4
triadic
#A259DC #DCA259 #59DCA2
tetradic
#A259DC #DC6059 #93DC59 #59D4DC
square
#A259DC #DC6059 #93DC59 #59D4DC
split-complementary
#A259DC #D4DC59 #59DC60
monochromatic
#64209A #852BCD #A259DC #BE8CE7 #DBBEF1

Accessibility & contrast

On white

4.20
#A259DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A259DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A259DC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A259DC#FFFFFF#000000##000000
##A259DC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F79E0
Deuteranopia (green-blind)
#437CD9
Tritanopia (blue-blind)
#997392
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a259dc;
/* rgb */ color: rgb(162, 89, 220);
/* oklch */ color: oklch(60.8% 0.197 307.2);
Tailwind
colors: {
  custom: {
    50: '#c18be7',
    500: '#a259dc',
    950: '#000000',
  },
}
SCSS
$custom: #a259dc;
$custom-light: #c18be7;
$custom-dark: #000000;
JSON
{
  "hex": "#a259dc",
  "rgb": {
    "r": 162,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 273.435,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60754,
    "c": 0.19691,
    "h": 307.2
  },
  "luminance": 0.19993
}

Semantic roles & 50–950 ramp

primary
#A259DC
secondary
#C6E1AF
accent
#CD1868
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A259DC

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

Preview Lab → · Contrast checker → · Palette generator →

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