#A262DD#A262DD

#A262DD is a light, vivid violet. Relative luminance 0.216; OKLCH L 62.1% C 0.185 H 305.7°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#A262DD
RGBrgb(162, 98, 221)
HSLhsl(271, 64%, 63%)
HSVhsv(271, 56%, 87%)
CMYKcmyk(26.7%, 55.7%, 0%, 13.3%)
CIE-LABlab(53.64, 48.80, -53.25)
CIE-LCHlch(53.64, 72.24, 312.50°)
OKLaboklab(62.1% 0.1079 -0.15)
OKLCHoklch(62.1% 0.185 305.7)
XYZxyz(32.3163, 21.6374, 70.8666)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262DD #9DDD62
analogous
#6562DD #A262DD #DD62DA
triadic
#A262DD #DDA262 #62DDA2
tetradic
#A262DD #DD6562 #9DDD62 #62DADD
square
#A262DD #DD6562 #9DDD62 #62DADD
split-complementary
#A262DD #DADD62 #62DD65
monochromatic
#6523A2 #8430D2 #A262DD #C094E8 #DEC7F3

Accessibility & contrast

On white

3.94
#A262DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#A262DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262DD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262DD#FFFFFF#000000##000000
##A262DD1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#357EE1
Deuteranopia (green-blind)
#4C80DA
Tritanopia (blue-blind)
#987996
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a262dd;
/* rgb */ color: rgb(162, 98, 221);
/* oklch */ color: oklch(62.1% 0.185 305.7);
Tailwind
colors: {
  custom: {
    50: '#c191e8',
    500: '#a262dd',
    950: '#000000',
  },
}
SCSS
$custom: #a262dd;
$custom-light: #c191e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a262dd",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 271.22,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62096,
    "c": 0.18479,
    "h": 305.7
  },
  "luminance": 0.21637
}

Semantic roles & 50–950 ramp

primary
#A262DD
secondary
#CCE4B7
accent
#CC196F
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A262DD

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

Preview Lab → · Contrast checker → · Palette generator →

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