#A062D9#A062D9

#A062D9 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.6% C 0.180 H 305.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A062D9
RGBrgb(160, 98, 217)
HSLhsl(271, 61%, 62%)
HSVhsv(271, 55%, 85%)
CMYKcmyk(26.3%, 54.8%, 0%, 14.9%)
CIE-LABlab(53.19, 47.37, -51.73)
CIE-LCHlch(53.19, 70.14, 312.48°)
OKLaboklab(61.64% 0.1052 -0.1456)
OKLCHoklch(61.64% 0.18 305.9)
XYZxyz(31.3866, 21.2189, 68.0744)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062D9 #9BD962
analogous
#6562D9 #A062D9 #D962D6
triadic
#A062D9 #D9A062 #62D9A0
tetradic
#A062D9 #D96562 #9BD962 #62D6D9
square
#A062D9 #D96562 #9BD962 #62D6D9
split-complementary
#A062D9 #D6D962 #62D965
monochromatic
#63269B #8231CC #A062D9 #BE93E5 #DCC5F1

Accessibility & contrast

On white

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

On black

5.24
#A062D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062D9
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062D9#FFFFFF#000000##000000
##A062D91.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#387DDD
Deuteranopia (green-blind)
#4E7FD6
Tritanopia (blue-blind)
#977894
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a062d9;
/* rgb */ color: rgb(160, 98, 217);
/* oklch */ color: oklch(61.6% 0.180 305.9);
Tailwind
colors: {
  custom: {
    50: '#bf91e5',
    500: '#a062d9',
    950: '#000000',
  },
}
SCSS
$custom: #a062d9;
$custom-light: #bf91e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a062d9",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 217
  },
  "hsl": {
    "h": 271.261,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6164,
    "c": 0.17966,
    "h": 305.9
  },
  "luminance": 0.21219
}

Semantic roles & 50–950 ramp

primary
#A062D9
secondary
#CAE1B5
accent
#C91D6F
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #A062D9

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

Preview Lab → · Contrast checker → · Palette generator →

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