#A062DA#A062DA

#A062DA is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.7% C 0.181 H 305.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A062DA
RGBrgb(160, 98, 218)
HSLhsl(271, 62%, 62%)
HSVhsv(271, 55%, 85%)
CMYKcmyk(26.6%, 55%, 0%, 14.5%)
CIE-LABlab(53.24, 47.61, -52.20)
CIE-LCHlch(53.24, 70.65, 312.36°)
OKLaboklab(61.7% 0.1053 -0.147)
OKLCHoklch(61.7% 0.181 305.6)
XYZxyz(31.5171, 21.2711, 68.7614)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062DA #9CDA62
analogous
#6462DA #A062DA #DA62D8
triadic
#A062DA #DAA062 #62DAA0
tetradic
#A062DA #DA6462 #9CDA62 #62D8DA
square
#A062DA #DA6462 #9CDA62 #62D8DA
split-complementary
#A062DA #D8DA62 #62DA64
monochromatic
#63259D #8231CE #A062DA #BE94E6 #DCC5F1

Accessibility & contrast

On white

4.00
#A062DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A062DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062DA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062DA#FFFFFF#000000##000000
##A062DA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#377DDE
Deuteranopia (green-blind)
#4D7FD7
Tritanopia (blue-blind)
#967995
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a062da;
/* rgb */ color: rgb(160, 98, 218);
/* oklch */ color: oklch(61.7% 0.181 305.6);
Tailwind
colors: {
  custom: {
    50: '#bf91e6',
    500: '#a062da',
    950: '#000000',
  },
}
SCSS
$custom: #a062da;
$custom-light: #bf91e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a062da",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 271,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.617,
    "c": 0.18082,
    "h": 305.6
  },
  "luminance": 0.21271
}

Semantic roles & 50–950 ramp

primary
#A062DA
secondary
#CBE2B6
accent
#CA1C70
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #A062DA

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

Preview Lab → · Contrast checker → · Palette generator →

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