#A762C8#A762C8

#A762C8 is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.4% C 0.163 H 313.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A762C8
RGBrgb(167, 98, 200)
HSLhsl(281, 48%, 58%)
HSVhsv(281, 51%, 78%)
CMYKcmyk(16.5%, 51%, 0%, 21.6%)
CIE-LABlab(53.08, 45.39, -42.17)
CIE-LCHlch(53.08, 61.96, 317.11°)
OKLaboklab(61.45% 0.1127 -0.1175)
OKLCHoklch(61.45% 0.163 313.8)
XYZxyz(30.7276, 21.1218, 57.0906)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762C8 #83C862
analogous
#7462C8 #A762C8 #C862B6
triadic
#A762C8 #C8A762 #62C8A7
tetradic
#A762C8 #C87462 #83C862 #62B6C8
square
#A762C8 #C87462 #83C862 #62B6C8
split-complementary
#A762C8 #B6C862 #62C874
monochromatic
#672E82 #8B3DAF #A762C8 #C08FD8 #DABDE8

Accessibility & contrast

On white

4.02
#A762C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#A762C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762C8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762C8#FFFFFF#000000##000000
##A762C81.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7BCB
Deuteranopia (green-blind)
#5F81C5
Tritanopia (blue-blind)
#A4728C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a762c8;
/* rgb */ color: rgb(167, 98, 200);
/* oklch */ color: oklch(61.4% 0.163 313.8);
Tailwind
colors: {
  custom: {
    50: '#c391d9',
    500: '#a762c8',
    950: '#000000',
  },
}
SCSS
$custom: #a762c8;
$custom-light: #c391d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a762c8",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 280.588,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61445,
    "c": 0.16281,
    "h": 313.8
  },
  "luminance": 0.21121
}

Semantic roles & 50–950 ramp

primary
#A762C8
secondary
#BCD7AF
accent
#D8507C
background
#FCF9FD
surface
#F8F1FA
border
#D1CBD3
text
#130D14
muted
#827E83

Preview Lab

Preview with #A762C8

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

Preview Lab → · Contrast checker → · Palette generator →

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