#A062DD#A062DD

#A062DD is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.9% C 0.184 H 304.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A062DD
RGBrgb(160, 98, 221)
HSLhsl(270, 64%, 63%)
HSVhsv(270, 56%, 87%)
CMYKcmyk(27.6%, 55.7%, 0%, 13.3%)
CIE-LABlab(53.42, 48.31, -53.62)
CIE-LCHlch(53.42, 72.18, 312.02°)
OKLaboklab(61.88% 0.1054 -0.1512)
OKLCHoklch(61.88% 0.184 304.9)
XYZxyz(31.9132, 21.4296, 70.8477)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062DD #9FDD62
analogous
#6362DD #A062DD #DD62DC
triadic
#A062DD #DDA062 #62DDA0
tetradic
#A062DD #DD6362 #9FDD62 #62DCDD
square
#A062DD #DD6362 #9FDD62 #62DCDD
split-complementary
#A062DD #DCDD62 #62DD63
monochromatic
#6323A2 #8230D2 #A062DD #BE94E8 #DDC7F3

Accessibility & contrast

On white

3.97
#A062DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#A062DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062DD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062DD#FFFFFF#000000##000000
##A062DD1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#347EE1
Deuteranopia (green-blind)
#4A80DA
Tritanopia (blue-blind)
#957996
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a062dd;
/* rgb */ color: rgb(160, 98, 221);
/* oklch */ color: oklch(61.9% 0.184 304.9);
Tailwind
colors: {
  custom: {
    50: '#bf91e8',
    500: '#a062dd',
    950: '#000000',
  },
}
SCSS
$custom: #a062dd;
$custom-light: #bf91e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a062dd",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 270.244,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61882,
    "c": 0.18427,
    "h": 304.9
  },
  "luminance": 0.21429
}

Semantic roles & 50–950 ramp

primary
#A062DD
secondary
#CDE4B7
accent
#CC1972
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A062DD

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

Preview Lab → · Contrast checker → · Palette generator →

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