#A462DB#A462DB

#A462DB is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.2% C 0.183 H 307.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#A462DB
RGBrgb(164, 98, 219)
HSLhsl(273, 63%, 62%)
HSVhsv(273, 55%, 86%)
CMYKcmyk(25.1%, 55.3%, 0%, 14.1%)
CIE-LABlab(53.75, 48.84, -51.93)
CIE-LCHlch(53.75, 71.29, 313.24°)
OKLaboklab(62.19% 0.1103 -0.1461)
OKLCHoklch(62.19% 0.183 307.1)
XYZxyz(32.4611, 21.7427, 69.4908)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462DB #99DB62
analogous
#6862DB #A462DB #DB62D6
triadic
#A462DB #DBA462 #62DBA4
tetradic
#A462DB #DB6862 #99DB62 #62D6DB
square
#A462DB #DB6862 #99DB62 #62D6DB
split-complementary
#A462DB #D6DB62 #62DB68
monochromatic
#67249E #8730D0 #A462DB #C194E6 #DEC6F2

Accessibility & contrast

On white

3.93
#A462DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#A462DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462DB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462DB#FFFFFF#000000##000000
##A462DB1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EDF
Deuteranopia (green-blind)
#5081D8
Tritanopia (blue-blind)
#9B7895
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a462db;
/* rgb */ color: rgb(164, 98, 219);
/* oklch */ color: oklch(62.2% 0.183 307.1);
Tailwind
colors: {
  custom: {
    50: '#c291e7',
    500: '#a462db',
    950: '#000000',
  },
}
SCSS
$custom: #a462db;
$custom-light: #c291e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a462db",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 272.727,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62193,
    "c": 0.18307,
    "h": 307.1
  },
  "luminance": 0.21742
}

Semantic roles & 50–950 ramp

primary
#A462DB
secondary
#CAE3B6
accent
#CA1B6B
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A462DB

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

Preview Lab → · Contrast checker → · Palette generator →

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