#A246B2#A246B2

#A246B2 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.7% C 0.182 H 321.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A246B2
RGBrgb(162, 70, 178)
HSLhsl(291, 44%, 49%)
HSVhsv(291, 61%, 70%)
CMYKcmyk(9%, 60.7%, 0%, 30.2%)
CIE-LABlab(46.01, 53.60, -40.65)
CIE-LCHlch(46.01, 67.27, 322.82°)
OKLaboklab(55.74% 0.1421 -0.1131)
OKLCHoklch(55.74% 0.182 321.5)
XYZxyz(25.1254, 15.2773, 43.7362)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246B2 #56B246
analogous
#6C46B2 #A246B2 #B2468C
triadic
#A246B2 #B2A246 #46B2A2
tetradic
#A246B2 #B26C46 #56B246 #468CB2
square
#A246B2 #B26C46 #56B246 #468CB2
split-complementary
#A246B2 #8CB246 #46B26C
monochromatic
#52235A #7A3586 #A246B2 #B96FC6 #CF9BD8

Accessibility & contrast

On white

5.18
#A246B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A246B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246B2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246B2#FFFFFF#000000##FFFFFF
##A246B21.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F66B5
Deuteranopia (green-blind)
#5270AF
Tritanopia (blue-blind)
#A45775
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a246b2;
/* rgb */ color: rgb(162, 70, 178);
/* oklch */ color: oklch(55.7% 0.182 321.5);
Tailwind
colors: {
  custom: {
    50: '#c07fc9',
    500: '#a246b2',
    950: '#000000',
  },
}
SCSS
$custom: #a246b2;
$custom-light: #c07fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a246b2",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 291.111,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55744,
    "c": 0.18159,
    "h": 321.5
  },
  "luminance": 0.15276
}

Semantic roles & 50–950 ramp

primary
#A246B2
secondary
#98C490
accent
#D35567
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A246B2

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

Preview Lab → · Contrast checker → · Palette generator →

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