#A062F5#A062F5

#A062F5 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.4% C 0.212 H 299.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A062F5
RGBrgb(160, 98, 245)
HSLhsl(265, 88%, 67%)
HSVhsv(265, 60%, 96%)
CMYKcmyk(34.7%, 60%, 0%, 3.9%)
CIE-LABlab(54.87, 54.09, -64.75)
CIE-LCHlch(54.87, 84.37, 309.87°)
OKLaboklab(63.41% 0.1052 -0.1838)
OKLCHoklch(63.41% 0.212 299.8)
XYZxyz(35.3423, 22.8012, 88.9076)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062F5 #B7F562
analogous
#626EF5 #A062F5 #E962F5
triadic
#A062F5 #F5A062 #62F5A0
tetradic
#A062F5 #F5626E #B7F562 #62F5E9
square
#A062F5 #F5626E #B7F562 #62F5E9
split-complementary
#A062F5 #F5E962 #6EF562
monochromatic
#5F0DCF #7D28F1 #A062F5 #C39CF9 #E6D5FC

Accessibility & contrast

On white

3.78
#A062F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#A062F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062F5
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062F5#FFFFFF#000000##000000
##A062F51.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FA
Deuteranopia (green-blind)
#2D82F2
Tritanopia (blue-blind)
#8E81A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a062f5;
/* rgb */ color: rgb(160, 98, 245);
/* oklch */ color: oklch(63.4% 0.212 299.8);
Tailwind
colors: {
  custom: {
    50: '#c191f9',
    500: '#a062f5',
    950: '#000000',
  },
}
SCSS
$custom: #a062f5;
$custom-light: #c191f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a062f5",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 265.306,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63408,
    "c": 0.21181,
    "h": 299.8
  },
  "luminance": 0.22802
}

Semantic roles & 50–950 ramp

primary
#A062F5
secondary
#DDF1C2
accent
#E50185
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A062F5

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

Preview Lab → · Contrast checker → · Palette generator →

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