#A246A2#A246A2

#A246A2 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 54.9% C 0.167 H 327.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A246A2
RGBrgb(162, 70, 162)
HSLhsl(300, 40%, 45%)
HSVhsv(300, 57%, 64%)
CMYKcmyk(0%, 56.8%, 0%, 36.5%)
CIE-LABlab(45.18, 50.60, -32.51)
CIE-LCHlch(45.18, 60.15, 327.28°)
OKLaboklab(54.87% 0.1408 -0.0895)
OKLCHoklch(54.87% 0.167 327.6)
XYZxyz(23.6117, 14.6718, 35.7637)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246A2 #46A246
analogous
#7446A2 #A246A2 #A24674
triadic
#A246A2 #A2A246 #46A2A2
tetradic
#A246A2 #A27446 #46A246 #4674A2
square
#A246A2 #A27446 #46A246 #4674A2
split-complementary
#A246A2 #74A246 #46A274
monochromatic
#4D214D #773477 #A246A2 #BE68BE #D092D0

Accessibility & contrast

On white

5.34
#A246A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#A246A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246A2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246A2#FFFFFF#000000##FFFFFF
##A246A21.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C63A5
Deuteranopia (green-blind)
#5A6F9F
Tritanopia (blue-blind)
#A7516D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a246a2;
/* rgb */ color: rgb(162, 70, 162);
/* oklch */ color: oklch(54.9% 0.167 327.6);
Tailwind
colors: {
  custom: {
    50: '#c07fbe',
    500: '#a246a2',
    950: '#000000',
  },
}
SCSS
$custom: #a246a2;
$custom-light: #c07fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a246a2",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 39.655,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.16685,
    "h": 327.6
  },
  "luminance": 0.1467
}

Semantic roles & 50–950 ramp

primary
#A246A2
secondary
#88BC88
accent
#D05858
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A246A2

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

Preview Lab → · Contrast checker → · Palette generator →

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