#A246A7#A246A7

#A246A7 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.1% C 0.171 H 325.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A246A7
RGBrgb(162, 70, 167)
HSLhsl(297, 41%, 46%)
HSVhsv(297, 58%, 65%)
CMYKcmyk(3%, 58.1%, 0%, 34.5%)
CIE-LABlab(45.43, 51.52, -35.08)
CIE-LCHlch(45.43, 62.33, 325.75°)
OKLaboklab(55.13% 0.1413 -0.0969)
OKLCHoklch(55.13% 0.171 325.6)
XYZxyz(24.0650, 14.8531, 38.1511)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246A7 #4BA746
analogous
#7246A7 #A246A7 #A7467C
triadic
#A246A7 #A7A246 #46A7A2
tetradic
#A246A7 #A77246 #4BA746 #467CA7
square
#A246A7 #A77246 #4BA746 #467CA7
split-complementary
#A246A7 #7CA746 #46A772
monochromatic
#4E2251 #78347C #A246A7 #BC6AC0 #CF95D3

Accessibility & contrast

On white

5.29
#A246A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A246A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246A7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246A7#FFFFFF#000000##FFFFFF
##A246A71.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3964AA
Deuteranopia (green-blind)
#5870A4
Tritanopia (blue-blind)
#A65370
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a246a7;
/* rgb */ color: rgb(162, 70, 167);
/* oklch */ color: oklch(55.1% 0.171 325.6);
Tailwind
colors: {
  custom: {
    50: '#c07fc1',
    500: '#a246a7',
    950: '#000000',
  },
}
SCSS
$custom: #a246a7;
$custom-light: #c07fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#a246a7",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 167
  },
  "hsl": {
    "h": 296.907,
    "s": 40.928,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55133,
    "c": 0.17137,
    "h": 325.6
  },
  "luminance": 0.14852
}

Semantic roles & 50–950 ramp

primary
#A246A7
secondary
#8DBE8A
accent
#D1575D
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A246A7

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

Preview Lab → · Contrast checker → · Palette generator →

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