#A762BF#A762BF

#A762BF is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.0% C 0.153 H 316.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A762BF
RGBrgb(167, 98, 191)
HSLhsl(285, 42%, 57%)
HSVhsv(285, 49%, 75%)
CMYKcmyk(12.6%, 48.7%, 0%, 25.1%)
CIE-LABlab(52.63, 43.48, -37.71)
CIE-LCHlch(52.63, 57.55, 319.07°)
OKLaboklab(60.97% 0.1116 -0.1046)
OKLCHoklch(60.97% 0.153 316.8)
XYZxyz(29.7066, 20.7134, 51.7133)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A762BF #7ABF62
analogous
#7962BF #A762BF #BF62A9
triadic
#A762BF #BFA762 #62BFA7
tetradic
#A762BF #BF7962 #7ABF62 #62A9BF
square
#A762BF #BF7962 #7ABF62 #62A9BF
split-complementary
#A762BF #A9BF62 #62BF79
monochromatic
#643076 #8942A2 #A762BF #BF8DD1 #D8B9E2

Accessibility & contrast

On white

4.08
#A762BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#A762BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A762BF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A762BF#FFFFFF#000000##000000
##A762BF1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5079C2
Deuteranopia (green-blind)
#6480BC
Tritanopia (blue-blind)
#A66F88
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a762bf;
/* rgb */ color: rgb(167, 98, 191);
/* oklch */ color: oklch(61.0% 0.153 316.8);
Tailwind
colors: {
  custom: {
    50: '#c391d2',
    500: '#a762bf',
    950: '#000000',
  },
}
SCSS
$custom: #a762bf;
$custom-light: #c391d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a762bf",
  "rgb": {
    "r": 167,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 284.516,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60967,
    "c": 0.15293,
    "h": 316.8
  },
  "luminance": 0.20712
}

Semantic roles & 50–950 ramp

primary
#A762BF
secondary
#B5D1AB
accent
#D25676
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #A762BF

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

Preview Lab → · Contrast checker → · Palette generator →

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