#A246B8#A246B8

#A246B8 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.1% C 0.187 H 319.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A246B8
RGBrgb(162, 70, 184)
HSLhsl(288, 45%, 50%)
HSVhsv(288, 62%, 72%)
CMYKcmyk(12%, 62%, 0%, 27.8%)
CIE-LABlab(46.34, 54.77, -43.64)
CIE-LCHlch(46.34, 70.03, 321.46°)
OKLaboklab(56.09% 0.1423 -0.1218)
OKLCHoklch(56.09% 0.187 319.4)
XYZxyz(25.7411, 15.5235, 46.9785)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246B8 #5CB846
analogous
#6946B8 #A246B8 #B84695
triadic
#A246B8 #B8A246 #46B8A2
tetradic
#A246B8 #B86946 #5CB846 #4695B8
square
#A246B8 #B86946 #5CB846 #4695B8
split-complementary
#A246B8 #95B846 #46B869
monochromatic
#54245F #7B358C #A246B8 #B872C9 #CF9EDA

Accessibility & contrast

On white

5.12
#A246B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#A246B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246B8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246B8#FFFFFF#000000##FFFFFF
##A246B81.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2868BB
Deuteranopia (green-blind)
#4E71B5
Tritanopia (blue-blind)
#A25979
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a246b8;
/* rgb */ color: rgb(162, 70, 184);
/* oklch */ color: oklch(56.1% 0.187 319.4);
Tailwind
colors: {
  custom: {
    50: '#c07fce',
    500: '#a246b8',
    950: '#000000',
  },
}
SCSS
$custom: #a246b8;
$custom-light: #c07fce;
$custom-dark: #000000;
JSON
{
  "hex": "#a246b8",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 184
  },
  "hsl": {
    "h": 288.421,
    "s": 44.882,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56091,
    "c": 0.18729,
    "h": 319.4
  },
  "luminance": 0.15522
}

Semantic roles & 50–950 ramp

primary
#A246B8
secondary
#9DC793
accent
#D5536C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A246B8

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

Preview Lab → · Contrast checker → · Palette generator →

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