#A262DC#A262DC

#A262DC is a light, vivid violet. Relative luminance 0.216; OKLCH L 62.0% C 0.184 H 306.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#A262DC
RGBrgb(162, 98, 220)
HSLhsl(271, 64%, 62%)
HSVhsv(271, 55%, 86%)
CMYKcmyk(26.4%, 55.5%, 0%, 13.7%)
CIE-LABlab(53.58, 48.57, -52.78)
CIE-LCHlch(53.58, 71.73, 312.62°)
OKLaboklab(62.04% 0.1078 -0.1486)
OKLCHoklch(62.04% 0.184 306)
XYZxyz(32.1835, 21.5843, 70.1670)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262DC #9CDC62
analogous
#6562DC #A262DC #DC62D9
triadic
#A262DC #DCA262 #62DCA2
tetradic
#A262DC #DC6562 #9CDC62 #62D9DC
square
#A262DC #DC6562 #9CDC62 #62D9DC
split-complementary
#A262DC #D9DC62 #62DC65
monochromatic
#6524A0 #8430D1 #A262DC #C094E7 #DDC6F2

Accessibility & contrast

On white

3.95
#A262DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#A262DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262DC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262DC#FFFFFF#000000##000000
##A262DC1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EE0
Deuteranopia (green-blind)
#4D80D9
Tritanopia (blue-blind)
#997996
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a262dc;
/* rgb */ color: rgb(162, 98, 220);
/* oklch */ color: oklch(62.0% 0.184 306.0);
Tailwind
colors: {
  custom: {
    50: '#c191e7',
    500: '#a262dc',
    950: '#000000',
  },
}
SCSS
$custom: #a262dc;
$custom-light: #c191e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a262dc",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 271.475,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62036,
    "c": 0.18365,
    "h": 306
  },
  "luminance": 0.21584
}

Semantic roles & 50–950 ramp

primary
#A262DC
secondary
#CCE3B7
accent
#CB1A6E
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A262DC

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

Preview Lab → · Contrast checker → · Palette generator →

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