#A246C1#A246C1

#A246C1 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.6% C 0.196 H 316.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A246C1
RGBrgb(162, 70, 193)
HSLhsl(285, 50%, 52%)
HSVhsv(285, 64%, 76%)
CMYKcmyk(16.1%, 63.7%, 0%, 24.3%)
CIE-LABlab(46.86, 56.57, -48.06)
CIE-LCHlch(46.86, 74.23, 319.65°)
OKLaboklab(56.63% 0.1423 -0.1347)
OKLCHoklch(56.63% 0.196 316.6)
XYZxyz(26.7146, 15.9130, 52.1060)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246C1 #65C146
analogous
#6546C1 #A246C1 #C146A3
triadic
#A246C1 #C1A246 #46C1A2
tetradic
#A246C1 #C16546 #65C146 #46A3C1
square
#A246C1 #C16546 #65C146 #46A3C1
split-complementary
#A246C1 #A3C146 #46C165
monochromatic
#582369 #7E3397 #A246C1 #B974D0 #D0A2E0

Accessibility & contrast

On white

5.02
#A246C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A246C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246C1
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246C1#FFFFFF#000000##FFFFFF
##A246C11.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A69C5
Deuteranopia (green-blind)
#4772BE
Tritanopia (blue-blind)
#A05C7D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a246c1;
/* rgb */ color: rgb(162, 70, 193);
/* oklch */ color: oklch(56.6% 0.196 316.6);
Tailwind
colors: {
  custom: {
    50: '#c17fd4',
    500: '#a246c1',
    950: '#000000',
  },
}
SCSS
$custom: #a246c1;
$custom-light: #c17fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#a246c1",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 193
  },
  "hsl": {
    "h": 284.878,
    "s": 49.798,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56632,
    "c": 0.19595,
    "h": 316.6
  },
  "luminance": 0.15912
}

Semantic roles & 50–950 ramp

primary
#A246C1
secondary
#A4CC96
accent
#D94E71
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A246C1

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

Preview Lab → · Contrast checker → · Palette generator →

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