#A062DC#A062DC

#A062DC is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.8% C 0.183 H 305.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A062DC
RGBrgb(160, 98, 220)
HSLhsl(270, 64%, 62%)
HSVhsv(270, 55%, 86%)
CMYKcmyk(27.3%, 55.5%, 0%, 13.7%)
CIE-LABlab(53.36, 48.08, -53.15)
CIE-LCHlch(53.36, 71.67, 312.13°)
OKLaboklab(61.82% 0.1053 -0.1498)
OKLCHoklch(61.82% 0.183 305.1)
XYZxyz(31.7804, 21.3764, 70.1481)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062DC #9EDC62
analogous
#6362DC #A062DC #DC62DB
triadic
#A062DC #DCA062 #62DCA0
tetradic
#A062DC #DC6362 #9EDC62 #62DBDC
square
#A062DC #DC6362 #9EDC62 #62DBDC
split-complementary
#A062DC #DBDC62 #62DC63
monochromatic
#6324A0 #8230D1 #A062DC #BE94E7 #DDC6F2

Accessibility & contrast

On white

3.98
#A062DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#A062DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062DC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062DC#FFFFFF#000000##000000
##A062DC1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#357EE0
Deuteranopia (green-blind)
#4B80D9
Tritanopia (blue-blind)
#967996
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a062dc;
/* rgb */ color: rgb(160, 98, 220);
/* oklch */ color: oklch(61.8% 0.183 305.1);
Tailwind
colors: {
  custom: {
    50: '#bf91e7',
    500: '#a062dc',
    950: '#000000',
  },
}
SCSS
$custom: #a062dc;
$custom-light: #bf91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a062dc",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 270.492,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61821,
    "c": 0.18312,
    "h": 305.1
  },
  "luminance": 0.21376
}

Semantic roles & 50–950 ramp

primary
#A062DC
secondary
#CDE3B7
accent
#CB1A71
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A062DC

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

Preview Lab → · Contrast checker → · Palette generator →

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