#A562FD#A562FD

#A562FD is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.5% C 0.222 H 300.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A562FD
RGBrgb(165, 98, 253)
HSLhsl(266, 97%, 69%)
HSVhsv(266, 61%, 99%)
CMYKcmyk(34.8%, 61.3%, 0%, 0.8%)
CIE-LABlab(55.91, 57.11, -67.47)
CIE-LCHlch(55.91, 88.40, 310.24°)
OKLaboklab(64.45% 0.1112 -0.1917)
OKLCHoklch(64.45% 0.222 300.1)
XYZxyz(37.6100, 23.8263, 95.5269)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562FD #BAFD62
analogous
#626DFD #A562FD #F262FD
triadic
#A562FD #FDA562 #62FDA5
tetradic
#A562FD #FD626D #BAFD62 #62FDF2
square
#A562FD #FD626D #BAFD62 #62FDF2
split-complementary
#A562FD #FDF262 #6DFD62
monochromatic
#6303E2 #8226FC #A562FD #C89EFE #EADBFF

Accessibility & contrast

On white

3.64
#A562FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#A562FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562FD
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562FD#FFFFFF#000000##000000
##A562FD1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#2685FA
Tritanopia (blue-blind)
#9284A7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a562fd;
/* rgb */ color: rgb(165, 98, 253);
/* oklch */ color: oklch(64.5% 0.222 300.1);
Tailwind
colors: {
  custom: {
    50: '#c592ff',
    500: '#a562fd',
    950: '#000000',
  },
}
SCSS
$custom: #a562fd;
$custom-light: #c592ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a562fd",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 265.935,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64452,
    "c": 0.22162,
    "h": 300.1
  },
  "luminance": 0.23827
}

Semantic roles & 50–950 ramp

primary
#A562FD
secondary
#E1F4C6
accent
#E60082
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A562FD

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

Preview Lab → · Contrast checker → · Palette generator →

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