#A562BF#A562BF

#A562BF is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.7% C 0.152 H 315.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A562BF
RGBrgb(165, 98, 191)
HSLhsl(283, 42%, 57%)
HSVhsv(283, 49%, 75%)
CMYKcmyk(13.6%, 48.7%, 0%, 25.1%)
CIE-LABlab(52.39, 42.91, -38.10)
CIE-LCHlch(52.39, 57.38, 318.40°)
OKLaboklab(60.74% 0.1091 -0.1058)
OKLCHoklch(60.74% 0.152 315.9)
XYZxyz(29.2873, 20.4971, 51.6937)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562BF #7CBF62
analogous
#7762BF #A562BF #BF62AB
triadic
#A562BF #BFA562 #62BFA5
tetradic
#A562BF #BF7762 #7CBF62 #62ABBF
square
#A562BF #BF7762 #7CBF62 #62ABBF
split-complementary
#A562BF #ABBF62 #62BF77
monochromatic
#633076 #8742A2 #A562BF #BE8DD1 #D7B9E2

Accessibility & contrast

On white

4.12
#A562BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#A562BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562BF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562BF#FFFFFF#000000##000000
##A562BF1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C2
Deuteranopia (green-blind)
#637FBC
Tritanopia (blue-blind)
#A47088
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a562bf;
/* rgb */ color: rgb(165, 98, 191);
/* oklch */ color: oklch(60.7% 0.152 315.9);
Tailwind
colors: {
  custom: {
    50: '#c191d2',
    500: '#a562bf',
    950: '#000000',
  },
}
SCSS
$custom: #a562bf;
$custom-light: #c191d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a562bf",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 283.226,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60737,
    "c": 0.152,
    "h": 315.9
  },
  "luminance": 0.20496
}

Semantic roles & 50–950 ramp

primary
#A562BF
secondary
#B6D1AB
accent
#D25679
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A562BF

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

Preview Lab → · Contrast checker → · Palette generator →

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