#A462CD#A462CD

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

Color values

HEX#A462CD
RGBrgb(164, 98, 205)
HSLhsl(277, 52%, 59%)
HSVhsv(277, 52%, 80%)
CMYKcmyk(20%, 52.2%, 0%, 19.6%)
CIE-LABlab(52.99, 45.67, -45.19)
CIE-LCHlch(52.99, 64.25, 315.30°)
OKLaboklab(61.38% 0.1094 -0.1264)
OKLCHoklch(61.38% 0.167 310.9)
XYZxyz(30.6950, 21.0363, 60.1892)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462CD #8BCD62
analogous
#6F62CD #A462CD #CD62C1
triadic
#A462CD #CDA462 #62CDA4
tetradic
#A462CD #CD6F62 #8BCD62 #62C1CD
square
#A462CD #CD6F62 #8BCD62 #62C1CD
split-complementary
#A462CD #C1CD62 #62CD6F
monochromatic
#652C89 #883AB7 #A462CD #BF90DC #DABFEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A462CD#FFFFFF#000000##000000
##A462CD1.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)
#457BD1
Deuteranopia (green-blind)
#5A80CA
Tritanopia (blue-blind)
#9F748E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a462cd;
/* rgb */ color: rgb(164, 98, 205);
/* oklch */ color: oklch(61.4% 0.167 310.9);
Tailwind
colors: {
  custom: {
    50: '#c191dd',
    500: '#a462cd',
    950: '#000000',
  },
}
SCSS
$custom: #a462cd;
$custom-light: #c191dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a462cd",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 277.009,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61383,
    "c": 0.16721,
    "h": 310.9
  },
  "luminance": 0.21036
}

Semantic roles & 50–950 ramp

primary
#A462CD
secondary
#C1DAB1
accent
#DB4D83
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A462CD

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

Preview Lab → · Contrast checker → · Palette generator →

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