#A462BB#A462BB

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

Color values

HEX#A462BB
RGBrgb(164, 98, 187)
HSLhsl(284, 40%, 56%)
HSVhsv(284, 48%, 73%)
CMYKcmyk(12.3%, 47.6%, 0%, 26.7%)
CIE-LABlab(52.08, 41.78, -36.30)
CIE-LCHlch(52.08, 55.34, 319.02°)
OKLaboklab(60.41% 0.1073 -0.1006)
OKLCHoklch(60.41% 0.147 316.9)
XYZxyz(28.6459, 20.2166, 49.3973)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462BB #79BB62
analogous
#7762BB #A462BB #BB62A6
triadic
#A462BB #BBA462 #62BBA4
tetradic
#A462BB #BB7762 #79BB62 #62A6BB
square
#A462BB #BB7762 #79BB62 #62A6BB
split-complementary
#A462BB #A6BB62 #62BB77
monochromatic
#613171 #85449C #A462BB #BD8DCD #D6B7E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A462BB#FFFFFF#000000##000000
##A462BB1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a462bb;
/* rgb */ color: rgb(164, 98, 187);
/* oklch */ color: oklch(60.4% 0.147 316.9);
Tailwind
colors: {
  custom: {
    50: '#c190d0',
    500: '#a462bb',
    950: '#000000',
  },
}
SCSS
$custom: #a462bb;
$custom-light: #c190d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a462bb",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 284.494,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60414,
    "c": 0.14711,
    "h": 316.9
  },
  "luminance": 0.20216
}

Semantic roles & 50–950 ramp

primary
#A462BB
secondary
#B3CFAA
accent
#CF5877
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A462BB

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

Preview Lab → · Contrast checker → · Palette generator →

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