#A062DF#A062DF

#A062DF is a light, vivid violet. Relative luminance 0.215; OKLCH L 62.0% C 0.187 H 304.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A062DF
RGBrgb(160, 98, 223)
HSLhsl(270, 66%, 63%)
HSVhsv(270, 56%, 87%)
CMYKcmyk(28.3%, 56.1%, 0%, 12.5%)
CIE-LABlab(53.53, 48.78, -54.57)
CIE-LCHlch(53.53, 73.20, 311.80°)
OKLaboklab(62% 0.1054 -0.1539)
OKLCHoklch(62% 0.187 304.4)
XYZxyz(32.1812, 21.5368, 72.2594)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062DF #A1DF62
analogous
#6262DF #A062DF #DF62DF
triadic
#A062DF #DFA062 #62DFA0
tetradic
#A062DF #DF6262 #A1DF62 #62DFDF
square
#A062DF #DF6262 #A1DF62 #62DFDF
split-complementary
#A062DF #DFDF62 #62DF62
monochromatic
#6322A5 #812FD5 #A062DF #BF95E9 #DEC8F4

Accessibility & contrast

On white

3.96
#A062DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#A062DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062DF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062DF#FFFFFF#000000##000000
##A062DF1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#317EE3
Deuteranopia (green-blind)
#4980DC
Tritanopia (blue-blind)
#957A97
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a062df;
/* rgb */ color: rgb(160, 98, 223);
/* oklch */ color: oklch(62.0% 0.187 304.4);
Tailwind
colors: {
  custom: {
    50: '#bf91ea',
    500: '#a062df',
    950: '#000000',
  },
}
SCSS
$custom: #a062df;
$custom-light: #bf91ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a062df",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 269.76,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62004,
    "c": 0.18658,
    "h": 304.4
  },
  "luminance": 0.21537
}

Semantic roles & 50–950 ramp

primary
#A062DF
secondary
#CFE5B8
accent
#CE1773
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A062DF

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

Preview Lab → · Contrast checker → · Palette generator →

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