#A062C8#A062C8

#A062C8 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.7% C 0.160 H 310.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A062C8
RGBrgb(160, 98, 200)
HSLhsl(276, 48%, 58%)
HSVhsv(276, 51%, 78%)
CMYKcmyk(20%, 51%, 0%, 21.6%)
CIE-LABlab(52.26, 43.48, -43.51)
CIE-LCHlch(52.26, 61.51, 314.98°)
OKLaboklab(60.66% 0.104 -0.1216)
OKLCHoklch(60.66% 0.16 310.5)
XYZxyz(29.2883, 20.3796, 57.0232)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062C8 #8AC862
analogous
#6D62C8 #A062C8 #C862BD
triadic
#A062C8 #C8A062 #62C8A0
tetradic
#A062C8 #C86D62 #8AC862 #62BDC8
square
#A062C8 #C86D62 #8AC862 #62BDC8
split-complementary
#A062C8 #BDC862 #62C86D
monochromatic
#612E82 #833DAF #A062C8 #BB8FD8 #D7BDE8

Accessibility & contrast

On white

4.14
#A062C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A062C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062C8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062C8#FFFFFF#000000##000000
##A062C81.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#477ACB
Deuteranopia (green-blind)
#5A7EC5
Tritanopia (blue-blind)
#9B738C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a062c8;
/* rgb */ color: rgb(160, 98, 200);
/* oklch */ color: oklch(60.7% 0.160 310.5);
Tailwind
colors: {
  custom: {
    50: '#be90d9',
    500: '#a062c8',
    950: '#000000',
  },
}
SCSS
$custom: #a062c8;
$custom-light: #be90d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a062c8",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 276.471,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60658,
    "c": 0.16006,
    "h": 310.5
  },
  "luminance": 0.20379
}

Semantic roles & 50–950 ramp

primary
#A062C8
secondary
#BFD7AF
accent
#D85085
background
#FBF9FD
surface
#F7F1FA
border
#D0CBD3
text
#120D15
muted
#817E83

Preview Lab

Preview with #A062C8

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

Preview Lab → · Contrast checker → · Palette generator →

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