#A062D8#A062D8

#A062D8 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.6% C 0.178 H 306.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A062D8
RGBrgb(160, 98, 216)
HSLhsl(272, 60%, 62%)
HSVhsv(272, 55%, 85%)
CMYKcmyk(25.9%, 54.6%, 0%, 15.3%)
CIE-LABlab(53.13, 47.14, -51.25)
CIE-LCHlch(53.13, 69.63, 312.61°)
OKLaboklab(61.58% 0.1052 -0.1442)
OKLCHoklch(61.58% 0.179 306.1)
XYZxyz(31.2570, 21.1671, 67.3914)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062D8 #9AD862
analogous
#6562D8 #A062D8 #D862D5
triadic
#A062D8 #D8A062 #62D8A0
tetradic
#A062D8 #D86562 #9AD862 #62D5D8
square
#A062D8 #D86562 #9AD862 #62D5D8
split-complementary
#A062D8 #D5D862 #62D865
monochromatic
#632699 #8232CA #A062D8 #BE93E4 #DBC4F0

Accessibility & contrast

On white

4.01
#A062D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#A062D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062D8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062D8#FFFFFF#000000##000000
##A062D81.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#397DDC
Deuteranopia (green-blind)
#4F7FD5
Tritanopia (blue-blind)
#977894
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a062d8;
/* rgb */ color: rgb(160, 98, 216);
/* oklch */ color: oklch(61.6% 0.178 306.1);
Tailwind
colors: {
  custom: {
    50: '#bf91e5',
    500: '#a062d8',
    950: '#000000',
  },
}
SCSS
$custom: #a062d8;
$custom-light: #bf91e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a062d8",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 271.525,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61581,
    "c": 0.1785,
    "h": 306.1
  },
  "luminance": 0.21167
}

Semantic roles & 50–950 ramp

primary
#A062D8
secondary
#CAE1B5
accent
#C81E6E
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #A062D8

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

Preview Lab → · Contrast checker → · Palette generator →

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