#A062D5#A062D5

#A062D5 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.4% C 0.175 H 306.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A062D5
RGBrgb(160, 98, 213)
HSLhsl(272, 58%, 61%)
HSVhsv(272, 54%, 84%)
CMYKcmyk(24.9%, 54%, 0%, 16.5%)
CIE-LABlab(52.96, 46.44, -49.82)
CIE-LCHlch(52.96, 68.11, 312.99°)
OKLaboklab(61.4% 0.105 -0.14)
OKLCHoklch(61.4% 0.175 306.9)
XYZxyz(30.8727, 21.0134, 65.3675)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062D5 #97D562
analogous
#6662D5 #A062D5 #D562D0
triadic
#A062D5 #D5A062 #62D5A0
tetradic
#A062D5 #D56662 #97D562 #62D0D5
square
#A062D5 #D56662 #97D562 #62D0D5
split-complementary
#A062D5 #D0D562 #62D566
monochromatic
#632895 #8335C5 #A062D5 #BD92E2 #DAC3EF

Accessibility & contrast

On white

4.04
#A062D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#A062D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062D5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062D5#FFFFFF#000000##000000
##A062D51.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7CD9
Deuteranopia (green-blind)
#517FD2
Tritanopia (blue-blind)
#987792
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a062d5;
/* rgb */ color: rgb(160, 98, 213);
/* oklch */ color: oklch(61.4% 0.175 306.9);
Tailwind
colors: {
  custom: {
    50: '#bf91e2',
    500: '#a062d5',
    950: '#000000',
  },
}
SCSS
$custom: #a062d5;
$custom-light: #bf91e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a062d5",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 213
  },
  "hsl": {
    "h": 272.348,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61403,
    "c": 0.17504,
    "h": 306.9
  },
  "luminance": 0.21013
}

Semantic roles & 50–950 ramp

primary
#A062D5
secondary
#C8DFB4
accent
#C5206C
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A062D5

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

Preview Lab → · Contrast checker → · Palette generator →

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