#A762DF#A762DF

#A762DF is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.8% C 0.188 H 307.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A762DF
RGBrgb(167, 98, 223)
HSLhsl(273, 66%, 63%)
HSVhsv(273, 56%, 87%)
CMYKcmyk(25.1%, 56.1%, 0%, 12.5%)
CIE-LABlab(54.32, 50.50, -53.26)
CIE-LCHlch(54.32, 73.40, 313.48°)
OKLaboklab(62.76% 0.1142 -0.1499)
OKLCHoklch(62.76% 0.188 307.3)
XYZxyz(33.6206, 22.2790, 72.3268)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762DF #9ADF62
analogous
#6862DF #A762DF #DF62D9
triadic
#A762DF #DFA762 #62DFA7
tetradic
#A762DF #DF6862 #9ADF62 #62D9DF
square
#A762DF #DF6862 #9ADF62 #62D9DF
split-complementary
#A762DF #D9DF62 #62DF68
monochromatic
#6A22A5 #8B2FD5 #A762DF #C395E9 #E0C8F4

Accessibility & contrast

On white

3.85
#A762DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#A762DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762DF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762DF#FFFFFF#000000##000000
##A762DF1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#357FE3
Deuteranopia (green-blind)
#4F83DC
Tritanopia (blue-blind)
#9E7997
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a762df;
/* rgb */ color: rgb(167, 98, 223);
/* oklch */ color: oklch(62.8% 0.188 307.3);
Tailwind
colors: {
  custom: {
    50: '#c491e9',
    500: '#a762df',
    950: '#000000',
  },
}
SCSS
$custom: #a762df;
$custom-light: #c491e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a762df",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 273.12,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6276,
    "c": 0.18846,
    "h": 307.3
  },
  "luminance": 0.22279
}

Semantic roles & 50–950 ramp

primary
#A762DF
secondary
#CCE5B8
accent
#CE1769
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A762DF

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

Preview Lab → · Contrast checker → · Palette generator →

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