#A562F4#A562F4

#A562F4 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 63.9% C 0.212 H 301.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A562F4
RGBrgb(165, 98, 244)
HSLhsl(268, 87%, 67%)
HSVhsv(268, 60%, 96%)
CMYKcmyk(32.4%, 59.8%, 0%, 4.3%)
CIE-LABlab(55.35, 54.94, -63.40)
CIE-LCHlch(55.35, 83.89, 310.91°)
OKLaboklab(63.86% 0.1116 -0.1797)
OKLCHoklch(63.86% 0.212 301.9)
XYZxyz(36.2100, 23.2662, 88.1536)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562F4 #B1F462
analogous
#6268F4 #A562F4 #EE62F4
triadic
#A562F4 #F4A562 #62F4A5
tetradic
#A562F4 #F46268 #B1F462 #62F4EE
square
#A562F4 #F46268 #B1F462 #62F4EE
split-complementary
#A562F4 #F4EE62 #68F462
monochromatic
#660ECD #8429F0 #A562F4 #C69BF8 #E7D4FC

Accessibility & contrast

On white

3.71
#A562F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#A562F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562F4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562F4#FFFFFF#000000##000000
##A562F41.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0284F9
Deuteranopia (green-blind)
#3684F1
Tritanopia (blue-blind)
#9581A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a562f4;
/* rgb */ color: rgb(165, 98, 244);
/* oklch */ color: oklch(63.9% 0.212 301.9);
Tailwind
colors: {
  custom: {
    50: '#c492f8',
    500: '#a562f4',
    950: '#000000',
  },
}
SCSS
$custom: #a562f4;
$custom-light: #c492f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a562f4",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 267.534,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63858,
    "c": 0.21156,
    "h": 301.9
  },
  "luminance": 0.23266
}

Semantic roles & 50–950 ramp

primary
#A562F4
secondary
#DBF0C2
accent
#E3027C
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A562F4

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

Preview Lab → · Contrast checker → · Palette generator →

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