#A462BD#A462BD

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

Color values

HEX#A462BD
RGBrgb(164, 98, 189)
HSLhsl(284, 41%, 56%)
HSVhsv(284, 48%, 74%)
CMYKcmyk(13.2%, 48.1%, 0%, 25.9%)
CIE-LABlab(52.18, 42.20, -37.30)
CIE-LCHlch(52.18, 56.32, 318.53°)
OKLaboklab(60.52% 0.1076 -0.1035)
OKLCHoklch(60.52% 0.149 316.1)
XYZxyz(28.8615, 20.3029, 50.5327)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462BD #7BBD62
analogous
#7762BD #A462BD #BD62A9
triadic
#A462BD #BDA462 #62BDA4
tetradic
#A462BD #BD7762 #7BBD62 #62A9BD
square
#A462BD #BD7762 #7BBD62 #62A9BD
split-complementary
#A462BD #A9BD62 #62BD77
monochromatic
#613174 #86439F #A462BD #BD8DCF #D6B8E1

Accessibility & contrast

On white

4.15
#A462BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A462BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A462BD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A462BD#FFFFFF#000000##000000
##A462BD1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078C0
Deuteranopia (green-blind)
#637EBA
Tritanopia (blue-blind)
#A36F87
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a462bd;
/* rgb */ color: rgb(164, 98, 189);
/* oklch */ color: oklch(60.5% 0.149 316.1);
Tailwind
colors: {
  custom: {
    50: '#c191d1',
    500: '#a462bd',
    950: '#000000',
  },
}
SCSS
$custom: #a462bd;
$custom-light: #c191d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a462bd",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 283.516,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60518,
    "c": 0.14932,
    "h": 316.1
  },
  "luminance": 0.20302
}

Semantic roles & 50–950 ramp

primary
#A462BD
secondary
#B5D0AB
accent
#D15779
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A462BD

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

Preview Lab → · Contrast checker → · Palette generator →

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