#A246C2#A246C2

#A246C2 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.7% C 0.197 H 316.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A246C2
RGBrgb(162, 70, 194)
HSLhsl(285, 50%, 52%)
HSVhsv(285, 64%, 76%)
CMYKcmyk(16.5%, 63.9%, 0%, 23.9%)
CIE-LABlab(46.92, 56.78, -48.54)
CIE-LCHlch(46.92, 74.70, 319.47°)
OKLaboklab(56.69% 0.1423 -0.1361)
OKLCHoklch(56.69% 0.197 316.3)
XYZxyz(26.8266, 15.9577, 52.6955)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246C2 #66C246
analogous
#6446C2 #A246C2 #C246A4
triadic
#A246C2 #C2A246 #46C2A2
tetradic
#A246C2 #C26446 #66C246 #46A4C2
square
#A246C2 #C26446 #66C246 #46A4C2
split-complementary
#A246C2 #A4C246 #46C264
monochromatic
#58236A #7E3299 #A246C2 #B974D1 #D0A2E0

Accessibility & contrast

On white

5.01
#A246C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#A246C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246C2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246C2#FFFFFF#000000##FFFFFF
##A246C21.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186AC6
Deuteranopia (green-blind)
#4772BF
Tritanopia (blue-blind)
#A05D7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a246c2;
/* rgb */ color: rgb(162, 70, 194);
/* oklch */ color: oklch(56.7% 0.197 316.3);
Tailwind
colors: {
  custom: {
    50: '#c17fd5',
    500: '#a246c2',
    950: '#000000',
  },
}
SCSS
$custom: #a246c2;
$custom-light: #c17fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a246c2",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 284.516,
    "s": 50.407,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56694,
    "c": 0.19691,
    "h": 316.3
  },
  "luminance": 0.15957
}

Semantic roles & 50–950 ramp

primary
#A246C2
secondary
#A5CD97
accent
#DA4E72
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A246C2

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

Preview Lab → · Contrast checker → · Palette generator →

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