#A762DD#A762DD

#A762DD is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.6% C 0.186 H 307.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#A762DD
RGBrgb(167, 98, 221)
HSLhsl(274, 64%, 63%)
HSVhsv(274, 56%, 87%)
CMYKcmyk(24.4%, 55.7%, 0%, 13.3%)
CIE-LABlab(54.21, 50.04, -52.31)
CIE-LCHlch(54.21, 72.40, 313.73°)
OKLaboklab(62.64% 0.1141 -0.1471)
OKLCHoklch(62.64% 0.186 307.8)
XYZxyz(33.3525, 22.1717, 70.9151)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762DD #98DD62
analogous
#6A62DD #A762DD #DD62D5
triadic
#A762DD #DDA762 #62DDA7
tetradic
#A762DD #DD6A62 #98DD62 #62D5DD
square
#A762DD #DD6A62 #98DD62 #62D5DD
split-complementary
#A762DD #D5DD62 #62DD6A
monochromatic
#6A23A2 #8B30D2 #A762DD #C394E8 #DFC7F3

Accessibility & contrast

On white

3.86
#A762DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#A762DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762DD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762DD#FFFFFF#000000##000000
##A762DD1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#387FE1
Deuteranopia (green-blind)
#5182DA
Tritanopia (blue-blind)
#9F7996
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a762dd;
/* rgb */ color: rgb(167, 98, 221);
/* oklch */ color: oklch(62.6% 0.186 307.8);
Tailwind
colors: {
  custom: {
    50: '#c491e8',
    500: '#a762dd',
    950: '#000000',
  },
}
SCSS
$custom: #a762dd;
$custom-light: #c491e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a762dd",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 273.659,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6264,
    "c": 0.18621,
    "h": 307.8
  },
  "luminance": 0.22171
}

Semantic roles & 50–950 ramp

primary
#A762DD
secondary
#CBE4B7
accent
#CC1968
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A762DD

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

Preview Lab → · Contrast checker → · Palette generator →

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