#A062DB#A062DB

#A062DB is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.8% C 0.182 H 305.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A062DB
RGBrgb(160, 98, 219)
HSLhsl(271, 63%, 62%)
HSVhsv(271, 55%, 86%)
CMYKcmyk(26.9%, 55.3%, 0%, 14.1%)
CIE-LABlab(53.30, 47.84, -52.68)
CIE-LCHlch(53.30, 71.16, 312.25°)
OKLaboklab(61.76% 0.1053 -0.1484)
OKLCHoklch(61.76% 0.182 305.4)
XYZxyz(31.6483, 21.3236, 69.4527)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062DB #9DDB62
analogous
#6462DB #A062DB #DB62D9
triadic
#A062DB #DBA062 #62DBA0
tetradic
#A062DB #DB6462 #9DDB62 #62D9DB
square
#A062DB #DB6462 #9DDB62 #62D9DB
split-complementary
#A062DB #D9DB62 #62DB64
monochromatic
#63249E #8230D0 #A062DB #BE94E6 #DCC6F2

Accessibility & contrast

On white

3.99
#A062DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#A062DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062DB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062DB#FFFFFF#000000##000000
##A062DB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#367DDF
Deuteranopia (green-blind)
#4C80D8
Tritanopia (blue-blind)
#967995
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a062db;
/* rgb */ color: rgb(160, 98, 219);
/* oklch */ color: oklch(61.8% 0.182 305.4);
Tailwind
colors: {
  custom: {
    50: '#bf91e7',
    500: '#a062db',
    950: '#000000',
  },
}
SCSS
$custom: #a062db;
$custom-light: #bf91e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a062db",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 270.744,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61761,
    "c": 0.18197,
    "h": 305.4
  },
  "luminance": 0.21323
}

Semantic roles & 50–950 ramp

primary
#A062DB
secondary
#CCE3B6
accent
#CA1B71
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A062DB

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

Preview Lab → · Contrast checker → · Palette generator →

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