#A062EC#A062EC

#A062EC is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 62.8% C 0.202 H 301.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A062EC
RGBrgb(160, 98, 236)
HSLhsl(267, 78%, 65%)
HSVhsv(267, 58%, 93%)
CMYKcmyk(32.2%, 58.5%, 0%, 7.5%)
CIE-LABlab(54.31, 51.89, -60.63)
CIE-LCHlch(54.31, 79.81, 310.56°)
OKLaboklab(62.82% 0.1055 -0.1717)
OKLCHoklch(62.82% 0.202 301.6)
XYZxyz(34.0017, 22.2650, 81.8469)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062EC #AEEC62
analogous
#6269EC #A062EC #E562EC
triadic
#A062EC #ECA062 #62ECA0
tetradic
#A062EC #EC6269 #AEEC62 #62ECE5
square
#A062EC #EC6269 #AEEC62 #62ECE5
split-complementary
#A062EC #ECE562 #69EC62
monochromatic
#6117BD #7F2BE5 #A062EC #C199F3 #E2CFF9

Accessibility & contrast

On white

3.85
#A062EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#A062EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062EC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062EC#FFFFFF#000000##000000
##A062EC1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A81F0
Deuteranopia (green-blind)
#3B81E9
Tritanopia (blue-blind)
#917E9E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a062ec;
/* rgb */ color: rgb(160, 98, 236);
/* oklch */ color: oklch(62.8% 0.202 301.6);
Tailwind
colors: {
  custom: {
    50: '#c091f3',
    500: '#a062ec',
    950: '#000000',
  },
}
SCSS
$custom: #a062ec;
$custom-light: #c091f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a062ec",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 266.957,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6282,
    "c": 0.20153,
    "h": 301.6
  },
  "luminance": 0.22265
}

Semantic roles & 50–950 ramp

primary
#A062EC
secondary
#D7ECBE
accent
#DB0B7D
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A062EC

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

Preview Lab → · Contrast checker → · Palette generator →

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