#A062E7#A062E7

#A062E7 is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.5% C 0.196 H 302.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A062E7
RGBrgb(160, 98, 231)
HSLhsl(268, 73%, 65%)
HSVhsv(268, 58%, 91%)
CMYKcmyk(30.7%, 57.6%, 0%, 9.4%)
CIE-LABlab(54.00, 50.69, -58.31)
CIE-LCHlch(54.00, 77.27, 311.00°)
OKLaboklab(62.5% 0.1055 -0.1649)
OKLCHoklch(62.5% 0.196 302.6)
XYZxyz(33.2854, 21.9785, 78.0745)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062E7 #A9E762
analogous
#6267E7 #A062E7 #E362E7
triadic
#A062E7 #E7A062 #62E7A0
tetradic
#A062E7 #E76267 #A9E762 #62E7E3
square
#A062E7 #E76267 #A9E762 #62E7E3
split-complementary
#A062E7 #E7E362 #67E762
monochromatic
#621BB3 #802DDF #A062E7 #C097EF #E0CCF7

Accessibility & contrast

On white

3.89
#A062E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#A062E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062E7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062E7#FFFFFF#000000##000000
##A062E71.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2580EB
Deuteranopia (green-blind)
#4181E4
Tritanopia (blue-blind)
#927D9B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a062e7;
/* rgb */ color: rgb(160, 98, 231);
/* oklch */ color: oklch(62.5% 0.196 302.6);
Tailwind
colors: {
  custom: {
    50: '#c091ef',
    500: '#a062e7',
    950: '#000000',
  },
}
SCSS
$custom: #a062e7;
$custom-light: #c091ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a062e7",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 267.97,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62502,
    "c": 0.19579,
    "h": 302.6
  },
  "luminance": 0.21978
}

Semantic roles & 50–950 ramp

primary
#A062E7
secondary
#D4E9BB
accent
#D61079
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A062E7

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

Preview Lab → · Contrast checker → · Palette generator →

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