#A062D2#A062D2

#A062D2 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.2% C 0.172 H 307.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A062D2
RGBrgb(160, 98, 210)
HSLhsl(273, 55%, 60%)
HSVhsv(273, 53%, 82%)
CMYKcmyk(23.8%, 53.3%, 0%, 17.6%)
CIE-LABlab(52.80, 45.75, -48.37)
CIE-LCHlch(52.80, 66.58, 313.40°)
OKLaboklab(61.23% 0.1048 -0.1358)
OKLCHoklch(61.23% 0.172 307.7)
XYZxyz(30.4954, 20.8625, 63.3806)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062D2 #94D262
analogous
#6862D2 #A062D2 #D262CC
triadic
#A062D2 #D2A062 #62D2A0
tetradic
#A062D2 #D26862 #94D262 #62CCD2
square
#A062D2 #D26862 #94D262 #62CCD2
split-complementary
#A062D2 #CCD262 #62D268
monochromatic
#622990 #8337C0 #A062D2 #BD92E0 #DAC1ED

Accessibility & contrast

On white

4.06
#A062D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#A062D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062D2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062D2#FFFFFF#000000##000000
##A062D21.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7CD6
Deuteranopia (green-blind)
#537FCF
Tritanopia (blue-blind)
#997691
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a062d2;
/* rgb */ color: rgb(160, 98, 210);
/* oklch */ color: oklch(61.2% 0.172 307.7);
Tailwind
colors: {
  custom: {
    50: '#bf91e0',
    500: '#a062d2',
    950: '#000000',
  },
}
SCSS
$custom: #a062d2;
$custom-light: #bf91e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a062d2",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 210
  },
  "hsl": {
    "h": 273.214,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61227,
    "c": 0.17158,
    "h": 307.7
  },
  "luminance": 0.20862
}

Semantic roles & 50–950 ramp

primary
#A062D2
secondary
#C6DDB3
accent
#C3236A
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A062D2

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

Preview Lab → · Contrast checker → · Palette generator →

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