#A246BB#A246BB

#A246BB is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.3% C 0.190 H 318.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A246BB
RGBrgb(162, 70, 187)
HSLhsl(287, 46%, 50%)
HSVhsv(287, 63%, 73%)
CMYKcmyk(13.4%, 62.6%, 0%, 26.7%)
CIE-LABlab(46.51, 55.37, -45.12)
CIE-LCHlch(46.51, 71.42, 320.82°)
OKLaboklab(56.27% 0.1423 -0.1261)
OKLCHoklch(56.27% 0.19 318.5)
XYZxyz(26.0589, 15.6507, 48.6523)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246BB #5FBB46
analogous
#6746BB #A246BB #BB469A
triadic
#A246BB #BBA246 #46BBA2
tetradic
#A246BB #BB6746 #5FBB46 #469ABB
square
#A246BB #BB6746 #5FBB46 #469ABB
split-complementary
#A246BB #9ABB46 #46BB67
monochromatic
#552462 #7C358F #A246BB #B873CB #CFA0DC

Accessibility & contrast

On white

5.08
#A246BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A246BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246BB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246BB#FFFFFF#000000##FFFFFF
##A246BB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BF
Deuteranopia (green-blind)
#4C71B8
Tritanopia (blue-blind)
#A25A7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a246bb;
/* rgb */ color: rgb(162, 70, 187);
/* oklch */ color: oklch(56.3% 0.190 318.5);
Tailwind
colors: {
  custom: {
    50: '#c17fd0',
    500: '#a246bb',
    950: '#000000',
  },
}
SCSS
$custom: #a246bb;
$custom-light: #c17fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a246bb",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 287.179,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56269,
    "c": 0.19016,
    "h": 318.5
  },
  "luminance": 0.1565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A246BB

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

Preview Lab → · Contrast checker → · Palette generator →

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