#A762CD#A762CD

#A762CD is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.7% C 0.168 H 312.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A762CD
RGBrgb(167, 98, 205)
HSLhsl(279, 52%, 59%)
HSVhsv(279, 52%, 80%)
CMYKcmyk(18.5%, 52.2%, 0%, 19.6%)
CIE-LABlab(53.34, 46.48, -44.61)
CIE-LCHlch(53.34, 64.43, 316.17°)
OKLaboklab(61.72% 0.1131 -0.1247)
OKLCHoklch(61.72% 0.168 312.2)
XYZxyz(31.3215, 21.3593, 60.2186)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762CD #88CD62
analogous
#7262CD #A762CD #CD62BD
triadic
#A762CD #CDA762 #62CDA7
tetradic
#A762CD #CD7262 #88CD62 #62BDCD
square
#A762CD #CD7262 #88CD62 #62BDCD
split-complementary
#A762CD #BDCD62 #62CD72
monochromatic
#682C89 #8B3AB7 #A762CD #C190DC #DBBFEB

Accessibility & contrast

On white

3.98
#A762CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#A762CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762CD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762CD#FFFFFF#000000##000000
##A762CD1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CD1
Deuteranopia (green-blind)
#5C81CA
Tritanopia (blue-blind)
#A3748E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a762cd;
/* rgb */ color: rgb(167, 98, 205);
/* oklch */ color: oklch(61.7% 0.168 312.2);
Tailwind
colors: {
  custom: {
    50: '#c391dd',
    500: '#a762cd',
    950: '#000000',
  },
}
SCSS
$custom: #a762cd;
$custom-light: #c391dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a762cd",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 278.692,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6172,
    "c": 0.16835,
    "h": 312.2
  },
  "luminance": 0.21359
}

Semantic roles & 50–950 ramp

primary
#A762CD
secondary
#BFDAB1
accent
#DB4D7F
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A762CD

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

Preview Lab → · Contrast checker → · Palette generator →

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