#A462CE#A462CE

#A462CE is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.4% C 0.168 H 310.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A462CE
RGBrgb(164, 98, 206)
HSLhsl(277, 52%, 60%)
HSVhsv(277, 52%, 81%)
CMYKcmyk(20.4%, 52.4%, 0%, 19.2%)
CIE-LABlab(53.04, 45.90, -45.68)
CIE-LCHlch(53.04, 64.75, 315.14°)
OKLaboklab(61.44% 0.1095 -0.1278)
OKLCHoklch(61.44% 0.168 310.6)
XYZxyz(30.8160, 21.0847, 60.8269)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462CE #8CCE62
analogous
#6E62CE #A462CE #CE62C2
triadic
#A462CE #CEA462 #62CEA4
tetradic
#A462CE #CE6E62 #8CCE62 #62C2CE
square
#A462CE #CE6E62 #8CCE62 #62C2CE
split-complementary
#A462CE #C2CE62 #62CE6E
monochromatic
#652B8A #883AB9 #A462CE #BF91DD #DABFEB

Accessibility & contrast

On white

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

On black

5.22
#A462CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462CE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462CE#FFFFFF#000000##000000
##A462CE1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#447BD2
Deuteranopia (green-blind)
#5980CB
Tritanopia (blue-blind)
#9F748F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a462ce;
/* rgb */ color: rgb(164, 98, 206);
/* oklch */ color: oklch(61.4% 0.168 310.6);
Tailwind
colors: {
  custom: {
    50: '#c191dd',
    500: '#a462ce',
    950: '#000000',
  },
}
SCSS
$custom: #a462ce;
$custom-light: #c191dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a462ce",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 276.667,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61439,
    "c": 0.16835,
    "h": 310.6
  },
  "luminance": 0.21084
}

Semantic roles & 50–950 ramp

primary
#A462CE
secondary
#C1DBB1
accent
#DC4C84
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A462CE

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

Preview Lab → · Contrast checker → · Palette generator →

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