#A462CC#A462CC

#A462CC is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.3% C 0.166 H 311.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A462CC
RGBrgb(164, 98, 204)
HSLhsl(277, 51%, 59%)
HSVhsv(277, 52%, 80%)
CMYKcmyk(19.6%, 52%, 0%, 20%)
CIE-LABlab(52.94, 45.45, -44.71)
CIE-LCHlch(52.94, 63.75, 315.47°)
OKLaboklab(61.33% 0.1094 -0.125)
OKLCHoklch(61.33% 0.166 311.2)
XYZxyz(30.5746, 20.9881, 59.5555)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462CC #8ACC62
analogous
#6F62CC #A462CC #CC62BF
triadic
#A462CC #CCA462 #62CCA4
tetradic
#A462CC #CC6F62 #8ACC62 #62BFCC
square
#A462CC #CC6F62 #8ACC62 #62BFCC
split-complementary
#A462CC #BFCC62 #62CC6F
monochromatic
#652C88 #873BB6 #A462CC #BF90DB #DABEEA

Accessibility & contrast

On white

4.04
#A462CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#A462CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462CC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462CC#FFFFFF#000000##000000
##A462CC1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BD0
Deuteranopia (green-blind)
#5B80C9
Tritanopia (blue-blind)
#9F748E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a462cc;
/* rgb */ color: rgb(164, 98, 204);
/* oklch */ color: oklch(61.3% 0.166 311.2);
Tailwind
colors: {
  custom: {
    50: '#c191dc',
    500: '#a462cc',
    950: '#000000',
  },
}
SCSS
$custom: #a462cc;
$custom-light: #c191dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a462cc",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 277.358,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61327,
    "c": 0.16609,
    "h": 311.2
  },
  "luminance": 0.20988
}

Semantic roles & 50–950 ramp

primary
#A462CC
secondary
#C0DAB0
accent
#DA4D83
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A462CC

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

Preview Lab → · Contrast checker → · Palette generator →

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