#A246B9#A246B9

#A246B9 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.1% C 0.188 H 319.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A246B9
RGBrgb(162, 70, 185)
HSLhsl(288, 45%, 50%)
HSVhsv(288, 62%, 73%)
CMYKcmyk(12.4%, 62.2%, 0%, 27.5%)
CIE-LABlab(46.40, 54.97, -44.13)
CIE-LCHlch(46.40, 70.50, 321.24°)
OKLaboklab(56.15% 0.1423 -0.1232)
OKLCHoklch(56.15% 0.188 319.1)
XYZxyz(25.8463, 15.5656, 47.5325)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246B9 #5DB946
analogous
#6946B9 #A246B9 #B94696
triadic
#A246B9 #B9A246 #46B9A2
tetradic
#A246B9 #B96946 #5DB946 #4696B9
square
#A246B9 #B96946 #5DB946 #4696B9
split-complementary
#A246B9 #96B946 #46B969
monochromatic
#542460 #7B358D #A246B9 #B872CA #CF9FDB

Accessibility & contrast

On white

5.11
#A246B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#A246B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246B9
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246B9#FFFFFF#000000##FFFFFF
##A246B91.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2768BD
Deuteranopia (green-blind)
#4D71B6
Tritanopia (blue-blind)
#A25979
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a246b9;
/* rgb */ color: rgb(162, 70, 185);
/* oklch */ color: oklch(56.1% 0.188 319.1);
Tailwind
colors: {
  custom: {
    50: '#c07fce',
    500: '#a246b9',
    950: '#000000',
  },
}
SCSS
$custom: #a246b9;
$custom-light: #c07fce;
$custom-dark: #000000;
JSON
{
  "hex": "#a246b9",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 185
  },
  "hsl": {
    "h": 288,
    "s": 45.098,
    "l": 50
  },
  "oklch": {
    "l": 0.5615,
    "c": 0.18825,
    "h": 319.1
  },
  "luminance": 0.15564
}

Semantic roles & 50–950 ramp

primary
#A246B9
secondary
#9EC794
accent
#D5536D
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A246B9

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

Preview Lab → · Contrast checker → · Palette generator →

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