#A762DC#A762DC

#A762DC is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.6% C 0.185 H 308.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A762DC
RGBrgb(167, 98, 220)
HSLhsl(274, 64%, 62%)
HSVhsv(274, 55%, 86%)
CMYKcmyk(24.1%, 55.5%, 0%, 13.7%)
CIE-LABlab(54.15, 49.82, -51.84)
CIE-LCHlch(54.15, 71.90, 313.86°)
OKLaboklab(62.58% 0.1141 -0.1457)
OKLCHoklch(62.58% 0.185 308.1)
XYZxyz(33.2197, 22.1186, 70.2156)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762DC #97DC62
analogous
#6A62DC #A762DC #DC62D4
triadic
#A762DC #DCA762 #62DCA7
tetradic
#A762DC #DC6A62 #97DC62 #62D4DC
square
#A762DC #DC6A62 #97DC62 #62D4DC
split-complementary
#A762DC #D4DC62 #62DC6A
monochromatic
#6A24A0 #8B30D1 #A762DC #C394E7 #DFC6F2

Accessibility & contrast

On white

3.87
#A762DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#A762DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762DC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762DC#FFFFFF#000000##000000
##A762DC1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#397FE0
Deuteranopia (green-blind)
#5282D9
Tritanopia (blue-blind)
#9F7896
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a762dc;
/* rgb */ color: rgb(167, 98, 220);
/* oklch */ color: oklch(62.6% 0.185 308.1);
Tailwind
colors: {
  custom: {
    50: '#c491e7',
    500: '#a762dc',
    950: '#000000',
  },
}
SCSS
$custom: #a762dc;
$custom-light: #c491e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a762dc",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 273.934,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62581,
    "c": 0.18509,
    "h": 308.1
  },
  "luminance": 0.22118
}

Semantic roles & 50–950 ramp

primary
#A762DC
secondary
#CAE3B7
accent
#CB1A67
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A762DC

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

Preview Lab → · Contrast checker → · Palette generator →

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