#A462CA#A462CA

#A462CA is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.2% C 0.164 H 311.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A462CA
RGBrgb(164, 98, 202)
HSLhsl(278, 50%, 59%)
HSVhsv(278, 51%, 79%)
CMYKcmyk(18.8%, 51.5%, 0%, 20.8%)
CIE-LABlab(52.83, 45.01, -43.73)
CIE-LCHlch(52.83, 62.76, 315.83°)
OKLaboklab(61.22% 0.1092 -0.1222)
OKLCHoklch(61.22% 0.164 311.8)
XYZxyz(30.3363, 20.8928, 58.3003)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462CA #88CA62
analogous
#7062CA #A462CA #CA62BC
triadic
#A462CA #CAA462 #62CAA4
tetradic
#A462CA #CA7062 #88CA62 #62BCCA
square
#A462CA #CA7062 #88CA62 #62BCCA
split-complementary
#A462CA #BCCA62 #62CA70
monochromatic
#652D85 #873CB3 #A462CA #BF90D9 #D9BEE9

Accessibility & contrast

On white

4.06
#A462CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#A462CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462CA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462CA#FFFFFF#000000##000000
##A462CA1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCE
Deuteranopia (green-blind)
#5C80C7
Tritanopia (blue-blind)
#A0738D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a462ca;
/* rgb */ color: rgb(164, 98, 202);
/* oklch */ color: oklch(61.2% 0.164 311.8);
Tailwind
colors: {
  custom: {
    50: '#c191da',
    500: '#a462ca',
    950: '#000000',
  },
}
SCSS
$custom: #a462ca;
$custom-light: #c191da;
$custom-dark: #000000;
JSON
{
  "hex": "#a462ca",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 278.077,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61216,
    "c": 0.16383,
    "h": 311.8
  },
  "luminance": 0.20892
}

Semantic roles & 50–950 ramp

primary
#A462CA
secondary
#BED8AF
accent
#D94F81
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A462CA

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

Preview Lab → · Contrast checker → · Palette generator →

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