#A462D6#A462D6

#A462D6 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.9% C 0.177 H 308.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A462D6
RGBrgb(164, 98, 214)
HSLhsl(274, 59%, 61%)
HSVhsv(274, 54%, 84%)
CMYKcmyk(23.4%, 54.2%, 0%, 16.1%)
CIE-LABlab(53.47, 47.70, -49.54)
CIE-LCHlch(53.47, 68.77, 313.91°)
OKLaboklab(61.9% 0.1101 -0.1391)
OKLCHoklch(61.9% 0.177 308.3)
XYZxyz(31.8127, 21.4834, 66.0761)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462D6 #94D662
analogous
#6A62D6 #A462D6 #D662CE
triadic
#A462D6 #D6A462 #62D6A4
tetradic
#A462D6 #D66A62 #94D662 #62CED6
square
#A462D6 #D66A62 #94D662 #62CED6
split-complementary
#A462D6 #CED662 #62D66A
monochromatic
#662796 #8834C7 #A462D6 #C093E3 #DCC3EF

Accessibility & contrast

On white

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

On black

5.30
#A462D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462D6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462D6#FFFFFF#000000##000000
##A462D61.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7DDA
Deuteranopia (green-blind)
#5481D3
Tritanopia (blue-blind)
#9D7793
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a462d6;
/* rgb */ color: rgb(164, 98, 214);
/* oklch */ color: oklch(61.9% 0.177 308.3);
Tailwind
colors: {
  custom: {
    50: '#c291e3',
    500: '#a462d6',
    950: '#000000',
  },
}
SCSS
$custom: #a462d6;
$custom-light: #c291e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a462d6",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 214
  },
  "hsl": {
    "h": 274.138,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61898,
    "c": 0.17741,
    "h": 308.3
  },
  "luminance": 0.21483
}

Semantic roles & 50–950 ramp

primary
#A462D6
secondary
#C7E0B4
accent
#C61F67
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D15
muted
#827E84

Preview Lab

Preview with #A462D6

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

Preview Lab → · Contrast checker → · Palette generator →

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