#A062BA#A062BA

#A062BA is a mid, vivid purple. Relative luminance 0.198; OKLCH L 59.9% C 0.144 H 315.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A062BA
RGBrgb(160, 98, 186)
HSLhsl(282, 39%, 56%)
HSVhsv(282, 47%, 73%)
CMYKcmyk(14%, 47.3%, 0%, 27.1%)
CIE-LABlab(51.56, 40.40, -36.57)
CIE-LCHlch(51.56, 54.50, 317.85°)
OKLaboklab(59.9% 0.1023 -0.1015)
OKLCHoklch(59.9% 0.144 315.2)
XYZxyz(27.7264, 19.7549, 48.7974)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062BA #7CBA62
analogous
#7462BA #A062BA #BA62A8
triadic
#A062BA #BAA062 #62BAA0
tetradic
#A062BA #BA7462 #7CBA62 #62A8BA
square
#A062BA #BA7462 #7CBA62 #62A8BA
split-complementary
#A062BA #A8BA62 #62BA74
monochromatic
#5E3170 #81449B #A062BA #BA8DCD #D3B7DF

Accessibility & contrast

On white

4.24
#A062BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#A062BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062BA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062BA#FFFFFF#000000##000000
##A062BA1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5177BD
Deuteranopia (green-blind)
#627DB8
Tritanopia (blue-blind)
#9E6F85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a062ba;
/* rgb */ color: rgb(160, 98, 186);
/* oklch */ color: oklch(59.9% 0.144 315.2);
Tailwind
colors: {
  custom: {
    50: '#be90cf',
    500: '#a062ba',
    950: '#000000',
  },
}
SCSS
$custom: #a062ba;
$custom-light: #be90cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a062ba",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 282.273,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59905,
    "c": 0.14411,
    "h": 315.2
  },
  "luminance": 0.19754
}

Semantic roles & 50–950 ramp

primary
#A062BA
secondary
#B4CEAA
accent
#CF597C
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A062BA

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

Preview Lab → · Contrast checker → · Palette generator →

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