#A246BA#A246BA

#A246BA is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.2% C 0.189 H 318.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A246BA
RGBrgb(162, 70, 186)
HSLhsl(288, 46%, 50%)
HSVhsv(288, 62%, 73%)
CMYKcmyk(12.9%, 62.4%, 0%, 27.1%)
CIE-LABlab(46.46, 55.17, -44.63)
CIE-LCHlch(46.46, 70.96, 321.03°)
OKLaboklab(56.21% 0.1423 -0.1247)
OKLCHoklch(56.21% 0.189 318.8)
XYZxyz(25.9522, 15.6080, 48.0905)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246BA #5EBA46
analogous
#6846BA #A246BA #BA4698
triadic
#A246BA #BAA246 #46BAA2
tetradic
#A246BA #BA6846 #5EBA46 #4698BA
square
#A246BA #BA6846 #5EBA46 #4698BA
split-complementary
#A246BA #98BA46 #46BA68
monochromatic
#552461 #7B358E #A246BA #B873CB #CF9FDB

Accessibility & contrast

On white

5.10
#A246BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A246BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246BA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246BA#FFFFFF#000000##FFFFFF
##A246BA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BE
Deuteranopia (green-blind)
#4D71B7
Tritanopia (blue-blind)
#A25A7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a246ba;
/* rgb */ color: rgb(162, 70, 186);
/* oklch */ color: oklch(56.2% 0.189 318.8);
Tailwind
colors: {
  custom: {
    50: '#c17fcf',
    500: '#a246ba',
    950: '#000000',
  },
}
SCSS
$custom: #a246ba;
$custom-light: #c17fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a246ba",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 287.586,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5621,
    "c": 0.1892,
    "h": 318.8
  },
  "luminance": 0.15607
}

Semantic roles & 50–950 ramp

primary
#A246BA
secondary
#9FC894
accent
#D5526E
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A246BA

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

Preview Lab → · Contrast checker → · Palette generator →

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