#A762BB#A762BB

#A762BB is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.8% C 0.149 H 318.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A762BB
RGBrgb(167, 98, 187)
HSLhsl(287, 40%, 56%)
HSVhsv(287, 48%, 73%)
CMYKcmyk(10.7%, 47.6%, 0%, 26.7%)
CIE-LABlab(52.44, 42.65, -35.70)
CIE-LCHlch(52.44, 55.62, 320.06°)
OKLaboklab(60.76% 0.111 -0.0988)
OKLCHoklch(60.76% 0.149 318.3)
XYZxyz(29.2725, 20.5397, 49.4267)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762BB #76BB62
analogous
#7A62BB #A762BB #BB62A2
triadic
#A762BB #BBA762 #62BBA7
tetradic
#A762BB #BB7A62 #76BB62 #62A2BB
square
#A762BB #BB7A62 #76BB62 #62A2BB
split-complementary
#A762BB #A2BB62 #62BB7A
monochromatic
#633171 #88449C #A762BB #BF8DCD #D7B7E0

Accessibility & contrast

On white

4.11
#A762BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#A762BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762BB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762BB#FFFFFF#000000##000000
##A762BB1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5379BE
Deuteranopia (green-blind)
#667FB8
Tritanopia (blue-blind)
#A76E86
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a762bb;
/* rgb */ color: rgb(167, 98, 187);
/* oklch */ color: oklch(60.8% 0.149 318.3);
Tailwind
colors: {
  custom: {
    50: '#c391d0',
    500: '#a762bb',
    950: '#000000',
  },
}
SCSS
$custom: #a762bb;
$custom-light: #c391d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a762bb",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 286.517,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60761,
    "c": 0.14861,
    "h": 318.3
  },
  "luminance": 0.20539
}

Semantic roles & 50–950 ramp

primary
#A762BB
secondary
#B2CFAA
accent
#CF5873
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A762BB

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

Preview Lab → · Contrast checker → · Palette generator →

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