#A762D2#A762D2

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

Color values

HEX#A762D2
RGBrgb(167, 98, 210)
HSLhsl(277, 55%, 60%)
HSVhsv(277, 53%, 82%)
CMYKcmyk(20.5%, 53.3%, 0%, 17.6%)
CIE-LABlab(53.60, 47.58, -47.04)
CIE-LCHlch(53.60, 66.91, 315.32°)
OKLaboklab(62% 0.1135 -0.1317)
OKLCHoklch(62% 0.174 310.8)
XYZxyz(31.9348, 21.6046, 63.4481)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762D2 #8DD262
analogous
#6F62D2 #A762D2 #D262C5
triadic
#A762D2 #D2A762 #62D2A7
tetradic
#A762D2 #D26F62 #8DD262 #62C5D2
square
#A762D2 #D26F62 #8DD262 #62C5D2
split-complementary
#A762D2 #C5D262 #62D26F
monochromatic
#692990 #8B37C0 #A762D2 #C292E0 #DCC1ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A762D2#FFFFFF#000000##000000
##A762D21.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)
#437DD6
Deuteranopia (green-blind)
#5981CF
Tritanopia (blue-blind)
#A27591
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a762d2;
/* rgb */ color: rgb(167, 98, 210);
/* oklch */ color: oklch(62.0% 0.174 310.8);
Tailwind
colors: {
  custom: {
    50: '#c491e0',
    500: '#a762d2',
    950: '#000000',
  },
}
SCSS
$custom: #a762d2;
$custom-light: #c491e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a762d2",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 210
  },
  "hsl": {
    "h": 276.964,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62001,
    "c": 0.17391,
    "h": 310.8
  },
  "luminance": 0.21604
}

Semantic roles & 50–950 ramp

primary
#A762D2
secondary
#C3DDB3
accent
#C32360
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A762D2

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

Preview Lab → · Contrast checker → · Palette generator →

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