#A462D7#A462D7

#A462D7 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 62.0% C 0.179 H 308.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A462D7
RGBrgb(164, 98, 215)
HSLhsl(274, 59%, 61%)
HSVhsv(274, 54%, 84%)
CMYKcmyk(23.7%, 54.4%, 0%, 15.7%)
CIE-LABlab(53.53, 47.92, -50.02)
CIE-LCHlch(53.53, 69.27, 313.77°)
OKLaboklab(61.96% 0.1101 -0.1405)
OKLCHoklch(61.96% 0.179 308.1)
XYZxyz(31.9408, 21.5346, 66.7507)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462D7 #95D762
analogous
#6A62D7 #A462D7 #D762D0
triadic
#A462D7 #D7A462 #62D7A4
tetradic
#A462D7 #D76A62 #95D762 #62D0D7
square
#A462D7 #D76A62 #95D762 #62D0D7
split-complementary
#A462D7 #D0D762 #62D76A
monochromatic
#672798 #8733C9 #A462D7 #C093E3 #DDC4F0

Accessibility & contrast

On white

3.96
#A462D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#A462D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462D7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462D7#FFFFFF#000000##000000
##A462D71.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7DDB
Deuteranopia (green-blind)
#5381D4
Tritanopia (blue-blind)
#9D7793
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a462d7;
/* rgb */ color: rgb(164, 98, 215);
/* oklch */ color: oklch(62.0% 0.179 308.1);
Tailwind
colors: {
  custom: {
    50: '#c291e4',
    500: '#a462d7',
    950: '#000000',
  },
}
SCSS
$custom: #a462d7;
$custom-light: #c291e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a462d7",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 215
  },
  "hsl": {
    "h": 273.846,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61957,
    "c": 0.17854,
    "h": 308.1
  },
  "luminance": 0.21534
}

Semantic roles & 50–950 ramp

primary
#A462D7
secondary
#C8E0B5
accent
#C71E68
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D15
muted
#827E84

Preview Lab

Preview with #A462D7

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

Preview Lab → · Contrast checker → · Palette generator →

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