#A462BC#A462BC

#A462BC is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.5% C 0.148 H 316.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A462BC
RGBrgb(164, 98, 188)
HSLhsl(284, 40%, 56%)
HSVhsv(284, 48%, 74%)
CMYKcmyk(12.8%, 47.9%, 0%, 26.3%)
CIE-LABlab(52.13, 41.99, -36.80)
CIE-LCHlch(52.13, 55.83, 318.77°)
OKLaboklab(60.47% 0.1075 -0.1021)
OKLCHoklch(60.47% 0.148 316.5)
XYZxyz(28.7533, 20.2596, 49.9630)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462BC #7ABC62
analogous
#7762BC #A462BC #BC62A7
triadic
#A462BC #BCA462 #62BCA4
tetradic
#A462BC #BC7762 #7ABC62 #62A7BC
square
#A462BC #BC7762 #7ABC62 #62A7BC
split-complementary
#A462BC #A7BC62 #62BC77
monochromatic
#613173 #85439E #A462BC #BD8DCE #D6B8E1

Accessibility & contrast

On white

4.16
#A462BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#A462BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462BC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462BC#FFFFFF#000000##000000
##A462BC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#647EBA
Tritanopia (blue-blind)
#A36F86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a462bc;
/* rgb */ color: rgb(164, 98, 188);
/* oklch */ color: oklch(60.5% 0.148 316.5);
Tailwind
colors: {
  custom: {
    50: '#c191d0',
    500: '#a462bc',
    950: '#000000',
  },
}
SCSS
$custom: #a462bc;
$custom-light: #c191d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a462bc",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 284,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60466,
    "c": 0.14822,
    "h": 316.5
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

primary
#A462BC
secondary
#B4CFAA
accent
#D05878
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A462BC

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

Preview Lab → · Contrast checker → · Palette generator →

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