#A762CF#A762CF

#A762CF is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.8% C 0.171 H 311.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A762CF
RGBrgb(167, 98, 207)
HSLhsl(278, 53%, 60%)
HSVhsv(278, 53%, 81%)
CMYKcmyk(19.3%, 52.7%, 0%, 18.8%)
CIE-LABlab(53.45, 46.92, -45.59)
CIE-LCHlch(53.45, 65.42, 315.82°)
OKLaboklab(61.83% 0.1133 -0.1275)
OKLCHoklch(61.83% 0.171 311.6)
XYZxyz(31.5645, 21.4565, 61.4981)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762CF #8ACF62
analogous
#7162CF #A762CF #CF62C0
triadic
#A762CF #CFA762 #62CFA7
tetradic
#A762CF #CF7162 #8ACF62 #62C0CF
square
#A762CF #CF7162 #8ACF62 #62C0CF
split-complementary
#A762CF #C0CF62 #62CF71
monochromatic
#682B8C #8B39BB #A762CF #C191DD #DCC0EC

Accessibility & contrast

On white

3.97
#A762CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#A762CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762CF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762CF#FFFFFF#000000##000000
##A762CF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#457CD3
Deuteranopia (green-blind)
#5B81CC
Tritanopia (blue-blind)
#A3748F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a762cf;
/* rgb */ color: rgb(167, 98, 207);
/* oklch */ color: oklch(61.8% 0.171 311.6);
Tailwind
colors: {
  custom: {
    50: '#c391de',
    500: '#a762cf',
    950: '#000000',
  },
}
SCSS
$custom: #a762cf;
$custom-light: #c391de;
$custom-dark: #000000;
JSON
{
  "hex": "#a762cf",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 277.982,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61831,
    "c": 0.17057,
    "h": 311.6
  },
  "luminance": 0.21456
}

Semantic roles & 50–950 ramp

primary
#A762CF
secondary
#C1DBB1
accent
#DD4B81
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A762CF

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

Preview Lab → · Contrast checker → · Palette generator →

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