#A462DF#A462DF

#A462DF is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.4% C 0.188 H 306.1°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A462DF
RGBrgb(164, 98, 223)
HSLhsl(272, 66%, 63%)
HSVhsv(272, 56%, 87%)
CMYKcmyk(26.5%, 56.1%, 0%, 12.5%)
CIE-LABlab(53.98, 49.76, -53.83)
CIE-LCHlch(53.98, 73.30, 312.75°)
OKLaboklab(62.43% 0.1104 -0.1517)
OKLCHoklch(62.43% 0.188 306.1)
XYZxyz(32.9940, 21.9559, 72.2975)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462DF #9DDF62
analogous
#6562DF #A462DF #DF62DC
triadic
#A462DF #DFA462 #62DFA4
tetradic
#A462DF #DF6562 #9DDF62 #62DCDF
square
#A462DF #DF6562 #9DDF62 #62DCDF
split-complementary
#A462DF #DCDF62 #62DF65
monochromatic
#6722A5 #872FD5 #A462DF #C195E9 #DFC8F4

Accessibility & contrast

On white

3.90
#A462DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#A462DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462DF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462DF#FFFFFF#000000##000000
##A462DF1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#347FE3
Deuteranopia (green-blind)
#4D81DC
Tritanopia (blue-blind)
#9A7A97
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a462df;
/* rgb */ color: rgb(164, 98, 223);
/* oklch */ color: oklch(62.4% 0.188 306.1);
Tailwind
colors: {
  custom: {
    50: '#c291ea',
    500: '#a462df',
    950: '#000000',
  },
}
SCSS
$custom: #a462df;
$custom-light: #c291ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a462df",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 271.68,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62433,
    "c": 0.18761,
    "h": 306.1
  },
  "luminance": 0.21956
}

Semantic roles & 50–950 ramp

primary
#A462DF
secondary
#CDE5B8
accent
#CE176E
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A462DF

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

Preview Lab → · Contrast checker → · Palette generator →

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