#A762CC#A762CC

#A762CC is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.7% C 0.167 H 312.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A762CC
RGBrgb(167, 98, 204)
HSLhsl(279, 51%, 59%)
HSVhsv(279, 52%, 80%)
CMYKcmyk(18.1%, 52%, 0%, 20%)
CIE-LABlab(53.29, 46.26, -44.13)
CIE-LCHlch(53.29, 63.93, 316.35°)
OKLaboklab(61.66% 0.113 -0.1232)
OKLCHoklch(61.66% 0.167 312.5)
XYZxyz(31.2012, 21.3112, 59.5849)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762CC #87CC62
analogous
#7262CC #A762CC #CC62BC
triadic
#A762CC #CCA762 #62CCA7
tetradic
#A762CC #CC7262 #87CC62 #62BCCC
square
#A762CC #CC7262 #87CC62 #62BCCC
split-complementary
#A762CC #BCCC62 #62CC72
monochromatic
#682C88 #8B3BB6 #A762CC #C190DB #DBBEEA

Accessibility & contrast

On white

3.99
#A762CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#A762CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762CC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762CC#FFFFFF#000000##000000
##A762CC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CD0
Deuteranopia (green-blind)
#5D81C9
Tritanopia (blue-blind)
#A3738E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a762cc;
/* rgb */ color: rgb(167, 98, 204);
/* oklch */ color: oklch(61.7% 0.167 312.5);
Tailwind
colors: {
  custom: {
    50: '#c391dc',
    500: '#a762cc',
    950: '#000000',
  },
}
SCSS
$custom: #a762cc;
$custom-light: #c391dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a762cc",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 279.057,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61664,
    "c": 0.16724,
    "h": 312.5
  },
  "luminance": 0.2131
}

Semantic roles & 50–950 ramp

primary
#A762CC
secondary
#BFDAB0
accent
#DA4D7F
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A762CC

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

Preview Lab → · Contrast checker → · Palette generator →

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