#A562CF#A562CF

#A562CF is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.6% C 0.170 H 310.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A562CF
RGBrgb(165, 98, 207)
HSLhsl(277, 53%, 60%)
HSVhsv(277, 53%, 81%)
CMYKcmyk(20.3%, 52.7%, 0%, 18.8%)
CIE-LABlab(53.21, 46.38, -45.97)
CIE-LCHlch(53.21, 65.31, 315.25°)
OKLaboklab(61.61% 0.1108 -0.1287)
OKLCHoklch(61.61% 0.17 310.7)
XYZxyz(31.1451, 21.2403, 61.4785)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562CF #8CCF62
analogous
#6F62CF #A562CF #CF62C2
triadic
#A562CF #CFA562 #62CFA5
tetradic
#A562CF #CF6F62 #8CCF62 #62C2CF
square
#A562CF #CF6F62 #8CCF62 #62C2CF
split-complementary
#A562CF #C2CF62 #62CF6F
monochromatic
#662B8C #8939BB #A562CF #C091DD #DBC0EC

Accessibility & contrast

On white

4.00
#A562CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A562CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562CF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562CF#FFFFFF#000000##000000
##A562CF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#447CD3
Deuteranopia (green-blind)
#5A80CC
Tritanopia (blue-blind)
#A0758F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a562cf;
/* rgb */ color: rgb(165, 98, 207);
/* oklch */ color: oklch(61.6% 0.170 310.7);
Tailwind
colors: {
  custom: {
    50: '#c291de',
    500: '#a562cf',
    950: '#000000',
  },
}
SCSS
$custom: #a562cf;
$custom-light: #c291de;
$custom-dark: #000000;
JSON
{
  "hex": "#a562cf",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 276.881,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61607,
    "c": 0.16983,
    "h": 310.7
  },
  "luminance": 0.2124
}

Semantic roles & 50–950 ramp

primary
#A562CF
secondary
#C2DBB1
accent
#DD4B83
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A562CF

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

Preview Lab → · Contrast checker → · Palette generator →

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