#A562B3#A562B3

#A562B3 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.1% C 0.139 H 320.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A562B3
RGBrgb(165, 98, 179)
HSLhsl(290, 35%, 54%)
HSVhsv(290, 45%, 70%)
CMYKcmyk(7.8%, 45.3%, 0%, 29.8%)
CIE-LABlab(51.83, 40.42, -32.06)
CIE-LCHlch(51.83, 51.59, 321.58°)
OKLaboklab(60.13% 0.1072 -0.0884)
OKLCHoklch(60.13% 0.139 320.5)
XYZxyz(28.0204, 19.9904, 45.0216)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562B3 #70B362
analogous
#7D62B3 #A562B3 #B36299
triadic
#A562B3 #B3A562 #62B3A5
tetradic
#A562B3 #B37D62 #70B362 #6299B3
square
#A562B3 #B37D62 #70B362 #6299B3
split-complementary
#A562B3 #99B362 #62B37D
monochromatic
#5F3268 #844691 #A562B3 #BD8BC7 #D4B4DB

Accessibility & contrast

On white

4.20
#A562B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A562B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562B3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562B3#FFFFFF#000000##000000
##A562B31.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5677B6
Deuteranopia (green-blind)
#697EB1
Tritanopia (blue-blind)
#A66C82
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a562b3;
/* rgb */ color: rgb(165, 98, 179);
/* oklch */ color: oklch(60.1% 0.139 320.5);
Tailwind
colors: {
  custom: {
    50: '#c190ca',
    500: '#a562b3',
    950: '#000000',
  },
}
SCSS
$custom: #a562b3;
$custom-light: #c190ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a562b3",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 179
  },
  "hsl": {
    "h": 289.63,
    "s": 34.764,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60128,
    "c": 0.13896,
    "h": 320.5
  },
  "luminance": 0.19989
}

Semantic roles & 50–950 ramp

primary
#A562B3
secondary
#ADCAA7
accent
#CB5D70
background
#FCF9FC
surface
#F8F1F8
border
#D1CBD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A562B3

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

Preview Lab → · Contrast checker → · Palette generator →

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