#A762DE#A762DE

#A762DE is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.7% C 0.187 H 307.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#A762DE
RGBrgb(167, 98, 222)
HSLhsl(273, 65%, 63%)
HSVhsv(273, 56%, 87%)
CMYKcmyk(24.8%, 55.9%, 0%, 12.9%)
CIE-LABlab(54.27, 50.27, -52.79)
CIE-LCHlch(54.27, 72.90, 313.60°)
OKLaboklab(62.7% 0.1142 -0.1485)
OKLCHoklch(62.7% 0.187 307.5)
XYZxyz(33.4862, 22.2252, 71.6189)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762DE #99DE62
analogous
#6962DE #A762DE #DE62D7
triadic
#A762DE #DEA762 #62DEA7
tetradic
#A762DE #DE6962 #99DE62 #62D7DE
square
#A762DE #DE6962 #99DE62 #62D7DE
split-complementary
#A762DE #D7DE62 #62DE69
monochromatic
#6A22A3 #8B2FD3 #A762DE #C395E9 #E0C7F3

Accessibility & contrast

On white

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

On black

5.44
#A762DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762DE
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762DE#FFFFFF#000000##000000
##A762DE1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#377FE2
Deuteranopia (green-blind)
#5082DB
Tritanopia (blue-blind)
#9F7997
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a762de;
/* rgb */ color: rgb(167, 98, 222);
/* oklch */ color: oklch(62.7% 0.187 307.5);
Tailwind
colors: {
  custom: {
    50: '#c491e9',
    500: '#a762de',
    950: '#000000',
  },
}
SCSS
$custom: #a762de;
$custom-light: #c491e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a762de",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 273.387,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.627,
    "c": 0.18733,
    "h": 307.5
  },
  "luminance": 0.22225
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A762DE

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

Preview Lab → · Contrast checker → · Palette generator →

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