#A762BD#A762BD

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

Color values

HEX#A762BD
RGBrgb(167, 98, 189)
HSLhsl(285, 41%, 56%)
HSVhsv(285, 48%, 74%)
CMYKcmyk(11.6%, 48.1%, 0%, 25.9%)
CIE-LABlab(52.54, 43.06, -36.71)
CIE-LCHlch(52.54, 56.59, 319.56°)
OKLaboklab(60.86% 0.1113 -0.1017)
OKLCHoklch(60.86% 0.151 317.6)
XYZxyz(29.4880, 20.6259, 50.5621)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762BD #78BD62
analogous
#7A62BD #A762BD #BD62A6
triadic
#A762BD #BDA762 #62BDA7
tetradic
#A762BD #BD7A62 #78BD62 #62A6BD
square
#A762BD #BD7A62 #78BD62 #62A6BD
split-complementary
#A762BD #A6BD62 #62BD7A
monochromatic
#643174 #89439F #A762BD #BF8DCF #D7B8E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A762BD#FFFFFF#000000##000000
##A762BD1.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)
#5179C0
Deuteranopia (green-blind)
#6580BA
Tritanopia (blue-blind)
#A76F87
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a762bd;
/* rgb */ color: rgb(167, 98, 189);
/* oklch */ color: oklch(60.9% 0.151 317.6);
Tailwind
colors: {
  custom: {
    50: '#c391d1',
    500: '#a762bd',
    950: '#000000',
  },
}
SCSS
$custom: #a762bd;
$custom-light: #c391d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a762bd",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 285.495,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60864,
    "c": 0.15076,
    "h": 317.6
  },
  "luminance": 0.20625
}

Semantic roles & 50–950 ramp

primary
#A762BD
secondary
#B4D0AB
accent
#D15775
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A762BD

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

Preview Lab → · Contrast checker → · Palette generator →

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