#A762BC#A762BC

#A762BC is a mid, vivid purple. Relative luminance 0.206; OKLCH L 60.8% C 0.150 H 317.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A762BC
RGBrgb(167, 98, 188)
HSLhsl(286, 40%, 56%)
HSVhsv(286, 48%, 74%)
CMYKcmyk(11.2%, 47.9%, 0%, 26.3%)
CIE-LABlab(52.49, 42.86, -36.21)
CIE-LCHlch(52.49, 56.10, 319.81°)
OKLaboklab(60.81% 0.1111 -0.1003)
OKLCHoklch(60.81% 0.15 317.9)
XYZxyz(29.3799, 20.5827, 49.9924)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762BC #77BC62
analogous
#7A62BC #A762BC #BC62A4
triadic
#A762BC #BCA762 #62BCA7
tetradic
#A762BC #BC7A62 #77BC62 #62A4BC
square
#A762BC #BC7A62 #77BC62 #62A4BC
split-complementary
#A762BC #A4BC62 #62BC7A
monochromatic
#633173 #88439E #A762BC #BF8DCE #D7B8E1

Accessibility & contrast

On white

4.10
#A762BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#A762BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762BC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762BC#FFFFFF#000000##000000
##A762BC1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5279BF
Deuteranopia (green-blind)
#6680B9
Tritanopia (blue-blind)
#A76F86
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a762bc;
/* rgb */ color: rgb(167, 98, 188);
/* oklch */ color: oklch(60.8% 0.150 317.9);
Tailwind
colors: {
  custom: {
    50: '#c391d0',
    500: '#a762bc',
    950: '#000000',
  },
}
SCSS
$custom: #a762bc;
$custom-light: #c391d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a762bc",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 286,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60812,
    "c": 0.14969,
    "h": 317.9
  },
  "luminance": 0.20582
}

Semantic roles & 50–950 ramp

primary
#A762BC
secondary
#B3CFAA
accent
#D05874
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A762BC

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

Preview Lab → · Contrast checker → · Palette generator →

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