#A062D6#A062D6

#A062D6 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.5% C 0.176 H 306.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A062D6
RGBrgb(160, 98, 214)
HSLhsl(272, 59%, 61%)
HSVhsv(272, 54%, 84%)
CMYKcmyk(25.2%, 54.2%, 0%, 16.1%)
CIE-LABlab(53.02, 46.67, -50.29)
CIE-LCHlch(53.02, 68.61, 312.86°)
OKLaboklab(61.46% 0.1051 -0.1414)
OKLCHoklch(61.46% 0.176 306.6)
XYZxyz(31.0000, 21.0643, 66.0380)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062D6 #98D662
analogous
#6662D6 #A062D6 #D662D2
triadic
#A062D6 #D6A062 #62D6A0
tetradic
#A062D6 #D66662 #98D662 #62D2D6
square
#A062D6 #D66662 #98D662 #62D2D6
split-complementary
#A062D6 #D2D662 #62D666
monochromatic
#632796 #8234C7 #A062D6 #BD93E3 #DBC3EF

Accessibility & contrast

On white

4.03
#A062D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#A062D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062D6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062D6#FFFFFF#000000##000000
##A062D61.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7CDA
Deuteranopia (green-blind)
#507FD3
Tritanopia (blue-blind)
#987793
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a062d6;
/* rgb */ color: rgb(160, 98, 214);
/* oklch */ color: oklch(61.5% 0.176 306.6);
Tailwind
colors: {
  custom: {
    50: '#bf91e3',
    500: '#a062d6',
    950: '#000000',
  },
}
SCSS
$custom: #a062d6;
$custom-light: #bf91e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a062d6",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 214
  },
  "hsl": {
    "h": 272.069,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61462,
    "c": 0.17619,
    "h": 306.6
  },
  "luminance": 0.21064
}

Semantic roles & 50–950 ramp

primary
#A062D6
secondary
#C8E0B4
accent
#C61F6D
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#120D15
muted
#817E84

Preview Lab

Preview with #A062D6

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

Preview Lab → · Contrast checker → · Palette generator →

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