#A246AC#A246AC

#A246AC is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.4% C 0.176 H 323.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A246AC
RGBrgb(162, 70, 172)
HSLhsl(294, 42%, 47%)
HSVhsv(294, 59%, 67%)
CMYKcmyk(5.8%, 59.3%, 0%, 32.5%)
CIE-LABlab(45.69, 52.46, -37.63)
CIE-LCHlch(45.69, 64.56, 324.35°)
OKLaboklab(55.41% 0.1417 -0.1043)
OKLCHoklch(55.41% 0.176 323.6)
XYZxyz(24.5362, 15.0416, 40.6326)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246AC #50AC46
analogous
#6F46AC #A246AC #AC4683
triadic
#A246AC #ACA246 #46ACA2
tetradic
#A246AC #AC6F46 #50AC46 #4683AC
square
#A246AC #AC6F46 #50AC46 #4683AC
split-complementary
#A246AC #83AC46 #46AC6F
monochromatic
#502355 #793481 #A246AC #BB6CC3 #CF98D5

Accessibility & contrast

On white

5.24
#A246AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#A246AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246AC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246AC#FFFFFF#000000##FFFFFF
##A246AC1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3565AF
Deuteranopia (green-blind)
#5570A9
Tritanopia (blue-blind)
#A55472
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a246ac;
/* rgb */ color: rgb(162, 70, 172);
/* oklch */ color: oklch(55.4% 0.176 323.6);
Tailwind
colors: {
  custom: {
    50: '#c07fc5',
    500: '#a246ac',
    950: '#000000',
  },
}
SCSS
$custom: #a246ac;
$custom-light: #c07fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#a246ac",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 294.118,
    "s": 42.149,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55406,
    "c": 0.17598,
    "h": 323.6
  },
  "luminance": 0.1504
}

Semantic roles & 50–950 ramp

primary
#A246AC
secondary
#92C18D
accent
#D25662
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A246AC

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

Preview Lab → · Contrast checker → · Palette generator →

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