#A246AA#A246AA

#A246AA is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.3% C 0.174 H 324.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A246AA
RGBrgb(162, 70, 170)
HSLhsl(295, 42%, 47%)
HSVhsv(295, 59%, 67%)
CMYKcmyk(4.7%, 58.8%, 0%, 33.3%)
CIE-LABlab(45.59, 52.08, -36.61)
CIE-LCHlch(45.59, 63.66, 324.89°)
OKLaboklab(55.3% 0.1416 -0.1014)
OKLCHoklch(55.3% 0.174 324.4)
XYZxyz(24.3455, 14.9653, 39.6287)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246AA #4EAA46
analogous
#7046AA #A246AA #AA4680
triadic
#A246AA #AAA246 #46AAA2
tetradic
#A246AA #AA7046 #4EAA46 #4680AA
square
#A246AA #AA7046 #4EAA46 #4680AA
split-complementary
#A246AA #80AA46 #46AA70
monochromatic
#4F2253 #79347F #A246AA #BB6BC2 #CF96D4

Accessibility & contrast

On white

5.26
#A246AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A246AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246AA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246AA#FFFFFF#000000##FFFFFF
##A246AA1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AD
Deuteranopia (green-blind)
#5670A7
Tritanopia (blue-blind)
#A55471
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a246aa;
/* rgb */ color: rgb(162, 70, 170);
/* oklch */ color: oklch(55.3% 0.174 324.4);
Tailwind
colors: {
  custom: {
    50: '#c07fc4',
    500: '#a246aa',
    950: '#000000',
  },
}
SCSS
$custom: #a246aa;
$custom-light: #c07fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#a246aa",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 295.2,
    "s": 41.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55296,
    "c": 0.17413,
    "h": 324.4
  },
  "luminance": 0.14964
}

Semantic roles & 50–950 ramp

primary
#A246AA
secondary
#90C08C
accent
#D15660
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A12
muted
#827C81

Preview Lab

Preview with #A246AA

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

Preview Lab → · Contrast checker → · Palette generator →

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