#A562CB#A562CB

#A562CB is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.4% C 0.165 H 311.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A562CB
RGBrgb(165, 98, 203)
HSLhsl(278, 50%, 59%)
HSVhsv(278, 52%, 80%)
CMYKcmyk(18.7%, 51.7%, 0%, 20.4%)
CIE-LABlab(53.00, 45.50, -44.03)
CIE-LCHlch(53.00, 63.31, 315.94°)
OKLaboklab(61.38% 0.1105 -0.123)
OKLCHoklch(61.38% 0.165 311.9)
XYZxyz(30.6623, 21.0472, 58.9356)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A562CB #88CB62
analogous
#7162CB #A562CB #CB62BC
triadic
#A562CB #CBA562 #62CBA5
tetradic
#A562CB #CB7162 #88CB62 #62BCCB
square
#A562CB #CB7162 #88CB62 #62BCCB
split-complementary
#A562CB #BCCB62 #62CB71
monochromatic
#662C86 #893CB4 #A562CB #BF90DA #DABEE9

Accessibility & contrast

On white

4.03
#A562CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#A562CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A562CB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A562CB#FFFFFF#000000##000000
##A562CB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BCF
Deuteranopia (green-blind)
#5C80C8
Tritanopia (blue-blind)
#A1738D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a562cb;
/* rgb */ color: rgb(165, 98, 203);
/* oklch */ color: oklch(61.4% 0.165 311.9);
Tailwind
colors: {
  custom: {
    50: '#c291db',
    500: '#a562cb',
    950: '#000000',
  },
}
SCSS
$custom: #a562cb;
$custom-light: #c291db;
$custom-dark: #000000;
JSON
{
  "hex": "#a562cb",
  "rgb": {
    "r": 165,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 278.286,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61383,
    "c": 0.16535,
    "h": 311.9
  },
  "luminance": 0.21046
}

Semantic roles & 50–950 ramp

primary
#A562CB
secondary
#BFD9B0
accent
#DA4E81
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A562CB

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

Preview Lab → · Contrast checker → · Palette generator →

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