#A062BB#A062BB

#A062BB is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.0% C 0.145 H 314.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A062BB
RGBrgb(160, 98, 187)
HSLhsl(282, 40%, 56%)
HSVhsv(282, 48%, 73%)
CMYKcmyk(14.4%, 47.6%, 0%, 26.7%)
CIE-LABlab(51.61, 40.62, -37.07)
CIE-LCHlch(51.61, 54.99, 317.61°)
OKLaboklab(59.96% 0.1024 -0.1029)
OKLCHoklch(59.96% 0.145 314.9)
XYZxyz(27.8331, 19.7975, 49.3592)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062BB #7DBB62
analogous
#7362BB #A062BB #BB62A9
triadic
#A062BB #BBA062 #62BBA0
tetradic
#A062BB #BB7362 #7DBB62 #62A9BB
square
#A062BB #BB7362 #7DBB62 #62A9BB
split-complementary
#A062BB #A9BB62 #62BB73
monochromatic
#5E3171 #81449C #A062BB #BA8DCD #D4B7E0

Accessibility & contrast

On white

4.23
#A062BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A062BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062BB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062BB#FFFFFF#000000##000000
##A062BB1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5077BE
Deuteranopia (green-blind)
#627DB9
Tritanopia (blue-blind)
#9E6F86
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a062bb;
/* rgb */ color: rgb(160, 98, 187);
/* oklch */ color: oklch(60.0% 0.145 314.9);
Tailwind
colors: {
  custom: {
    50: '#be90d0',
    500: '#a062bb',
    950: '#000000',
  },
}
SCSS
$custom: #a062bb;
$custom-light: #be90d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a062bb",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 281.798,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59957,
    "c": 0.14523,
    "h": 314.9
  },
  "luminance": 0.19797
}

Semantic roles & 50–950 ramp

primary
#A062BB
secondary
#B5CFAA
accent
#CF587C
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A062BB

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

Preview Lab → · Contrast checker → · Palette generator →

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