#A062CD#A062CD

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

Color values

HEX#A062CD
RGBrgb(160, 98, 205)
HSLhsl(275, 52%, 59%)
HSVhsv(275, 52%, 80%)
CMYKcmyk(22%, 52.2%, 0%, 19.6%)
CIE-LABlab(52.53, 44.61, -45.95)
CIE-LCHlch(52.53, 64.04, 314.15°)
OKLaboklab(60.94% 0.1045 -0.1288)
OKLCHoklch(60.94% 0.166 309.1)
XYZxyz(29.8822, 20.6172, 60.1511)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062CD #8FCD62
analogous
#6B62CD #A062CD #CD62C5
triadic
#A062CD #CDA062 #62CDA0
tetradic
#A062CD #CD6B62 #8FCD62 #62C5CD
square
#A062CD #CD6B62 #8FCD62 #62C5CD
split-complementary
#A062CD #C5CD62 #62CD6B
monochromatic
#622C89 #833AB7 #A062CD #BC90DC #D8BFEB

Accessibility & contrast

On white

4.10
#A062CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#A062CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062CD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062CD#FFFFFF#000000##000000
##A062CD1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#447BD1
Deuteranopia (green-blind)
#577ECA
Tritanopia (blue-blind)
#9A748E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a062cd;
/* rgb */ color: rgb(160, 98, 205);
/* oklch */ color: oklch(60.9% 0.166 309.1);
Tailwind
colors: {
  custom: {
    50: '#be91dd',
    500: '#a062cd',
    950: '#000000',
  },
}
SCSS
$custom: #a062cd;
$custom-light: #be91dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a062cd",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 274.766,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6094,
    "c": 0.16581,
    "h": 309.1
  },
  "luminance": 0.20617
}

Semantic roles & 50–950 ramp

primary
#A062CD
secondary
#C2DAB1
accent
#DB4D89
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A062CD

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

Preview Lab → · Contrast checker → · Palette generator →

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