#A246C4#A246C4

#A246C4 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.8% C 0.199 H 315.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A246C4
RGBrgb(162, 70, 196)
HSLhsl(284, 52%, 52%)
HSVhsv(284, 64%, 77%)
CMYKcmyk(17.3%, 64.3%, 0%, 23.1%)
CIE-LABlab(47.04, 57.18, -49.51)
CIE-LCHlch(47.04, 75.64, 319.11°)
OKLaboklab(56.82% 0.1422 -0.1389)
OKLCHoklch(56.82% 0.199 315.7)
XYZxyz(27.0527, 16.0482, 53.8864)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246C4 #68C446
analogous
#6346C4 #A246C4 #C446A7
triadic
#A246C4 #C4A246 #46C4A2
tetradic
#A246C4 #C46346 #68C446 #46A7C4
square
#A246C4 #C46346 #68C446 #46A7C4
split-complementary
#A246C4 #A7C446 #46C463
monochromatic
#59236D #7F329B #A246C4 #B974D3 #D1A3E2

Accessibility & contrast

On white

4.99
#A246C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#A246C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246C4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246C4#FFFFFF#000000##FFFFFF
##A246C41.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136AC8
Deuteranopia (green-blind)
#4572C1
Tritanopia (blue-blind)
#A05D7F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a246c4;
/* rgb */ color: rgb(162, 70, 196);
/* oklch */ color: oklch(56.8% 0.199 315.7);
Tailwind
colors: {
  custom: {
    50: '#c17fd6',
    500: '#a246c4',
    950: '#000000',
  },
}
SCSS
$custom: #a246c4;
$custom-light: #c17fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#a246c4",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 196
  },
  "hsl": {
    "h": 283.81,
    "s": 51.639,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56818,
    "c": 0.19885,
    "h": 315.7
  },
  "luminance": 0.16047
}

Semantic roles & 50–950 ramp

primary
#A246C4
secondary
#A6CE97
accent
#DB4D73
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A246C4

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

Preview Lab → · Contrast checker → · Palette generator →

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