#A762B3#A762B3

#A762B3 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.4% C 0.140 H 321.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A762B3
RGBrgb(167, 98, 179)
HSLhsl(291, 35%, 54%)
HSVhsv(291, 45%, 70%)
CMYKcmyk(6.7%, 45.3%, 0%, 29.8%)
CIE-LABlab(52.07, 41.02, -31.66)
CIE-LCHlch(52.07, 51.82, 322.34°)
OKLaboklab(60.36% 0.1097 -0.0872)
OKLCHoklch(60.36% 0.14 321.5)
XYZxyz(28.4398, 20.2066, 45.0413)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762B3 #6EB362
analogous
#7F62B3 #A762B3 #B36297
triadic
#A762B3 #B3A762 #62B3A7
tetradic
#A762B3 #B37F62 #6EB362 #6297B3
square
#A762B3 #B37F62 #6EB362 #6297B3
split-complementary
#A762B3 #97B362 #62B37F
monochromatic
#603268 #864691 #A762B3 #BE8BC7 #D5B4DB

Accessibility & contrast

On white

4.17
#A762B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A762B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762B3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762B3#FFFFFF#000000##000000
##A762B31.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5777B6
Deuteranopia (green-blind)
#6A7FB1
Tritanopia (blue-blind)
#A96C82
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a762b3;
/* rgb */ color: rgb(167, 98, 179);
/* oklch */ color: oklch(60.4% 0.140 321.5);
Tailwind
colors: {
  custom: {
    50: '#c391ca',
    500: '#a762b3',
    950: '#000000',
  },
}
SCSS
$custom: #a762b3;
$custom-light: #c391ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a762b3",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 179
  },
  "hsl": {
    "h": 291.111,
    "s": 34.764,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60363,
    "c": 0.14009,
    "h": 321.5
  },
  "luminance": 0.20206
}

Semantic roles & 50–950 ramp

primary
#A762B3
secondary
#ACCAA7
accent
#CB5D6D
background
#FCF9FC
surface
#F8F1F8
border
#D1CBD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #A762B3

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

Preview Lab → · Contrast checker → · Palette generator →

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