#A062F2#A062F2

#A062F2 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.2% C 0.208 H 300.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#A062F2
RGBrgb(160, 98, 242)
HSLhsl(266, 85%, 67%)
HSVhsv(266, 60%, 95%)
CMYKcmyk(33.9%, 59.5%, 0%, 5.1%)
CIE-LABlab(54.68, 53.35, -63.38)
CIE-LCHlch(54.68, 82.85, 310.09°)
OKLaboklab(63.21% 0.1053 -0.1798)
OKLCHoklch(63.21% 0.208 300.4)
XYZxyz(34.8880, 22.6195, 86.5151)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062F2 #B4F262
analogous
#626CF2 #A062F2 #E862F2
triadic
#A062F2 #F2A062 #62F2A0
tetradic
#A062F2 #F2626C #B4F262 #62F2E8
square
#A062F2 #F2626C #B4F262 #62F2E8
split-complementary
#A062F2 #F2E862 #6CF262
monochromatic
#6011C9 #7E29ED #A062F2 #C29BF7 #E4D3FB

Accessibility & contrast

On white

3.80
#A062F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#A062F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062F2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062F2#FFFFFF#000000##000000
##A062F21.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0182F7
Deuteranopia (green-blind)
#3282EF
Tritanopia (blue-blind)
#8F80A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a062f2;
/* rgb */ color: rgb(160, 98, 242);
/* oklch */ color: oklch(63.2% 0.208 300.4);
Tailwind
colors: {
  custom: {
    50: '#c191f7',
    500: '#a062f2',
    950: '#000000',
  },
}
SCSS
$custom: #a062f2;
$custom-light: #c191f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a062f2",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 265.833,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6321,
    "c": 0.2084,
    "h": 300.4
  },
  "luminance": 0.2262
}

Semantic roles & 50–950 ramp

primary
#A062F2
secondary
#DBEFC1
accent
#E10482
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A062F2

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

Preview Lab → · Contrast checker → · Palette generator →

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