#A062CC#A062CC

#A062CC is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.9% C 0.165 H 309.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A062CC
RGBrgb(160, 98, 204)
HSLhsl(275, 51%, 59%)
HSVhsv(275, 52%, 80%)
CMYKcmyk(21.6%, 52%, 0%, 20%)
CIE-LABlab(52.47, 44.38, -45.47)
CIE-LCHlch(52.47, 63.54, 314.31°)
OKLaboklab(60.88% 0.1044 -0.1273)
OKLCHoklch(60.88% 0.165 309.3)
XYZxyz(29.7619, 20.5691, 59.5174)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062CC #8ECC62
analogous
#6B62CC #A062CC #CC62C3
triadic
#A062CC #CCA062 #62CCA0
tetradic
#A062CC #CC6B62 #8ECC62 #62C3CC
square
#A062CC #CC6B62 #8ECC62 #62C3CC
split-complementary
#A062CC #C3CC62 #62CC6B
monochromatic
#622C88 #833BB6 #A062CC #BC90DB #D8BEEA

Accessibility & contrast

On white

4.11
#A062CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#A062CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062CC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062CC#FFFFFF#000000##000000
##A062CC1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#447AD0
Deuteranopia (green-blind)
#587EC9
Tritanopia (blue-blind)
#9A748E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a062cc;
/* rgb */ color: rgb(160, 98, 204);
/* oklch */ color: oklch(60.9% 0.165 309.3);
Tailwind
colors: {
  custom: {
    50: '#be91dc',
    500: '#a062cc',
    950: '#000000',
  },
}
SCSS
$custom: #a062cc;
$custom-light: #be91dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a062cc",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 275.094,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60883,
    "c": 0.16466,
    "h": 309.3
  },
  "luminance": 0.20569
}

Semantic roles & 50–950 ramp

primary
#A062CC
secondary
#C1DAB0
accent
#DA4D88
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A062CC

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

Preview Lab → · Contrast checker → · Palette generator →

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