#A246BD#A246BD

#A246BD is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.192 H 317.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A246BD
RGBrgb(162, 70, 189)
HSLhsl(286, 47%, 51%)
HSVhsv(286, 63%, 74%)
CMYKcmyk(14.3%, 63%, 0%, 25.9%)
CIE-LABlab(46.63, 55.77, -46.10)
CIE-LCHlch(46.63, 72.36, 320.42°)
OKLaboklab(56.39% 0.1423 -0.129)
OKLCHoklch(56.39% 0.192 317.8)
XYZxyz(26.2745, 15.7369, 49.7878)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246BD #61BD46
analogous
#6746BD #A246BD #BD469C
triadic
#A246BD #BDA246 #46BDA2
tetradic
#A246BD #BD6746 #61BD46 #469CBD
square
#A246BD #BD6746 #61BD46 #469CBD
split-complementary
#A246BD #9CBD46 #46BD67
monochromatic
#562465 #7D3492 #A246BD #B973CD #CFA0DD

Accessibility & contrast

On white

5.06
#A246BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#A246BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246BD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246BD#FFFFFF#000000##FFFFFF
##A246BD1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2169C1
Deuteranopia (green-blind)
#4B71BA
Tritanopia (blue-blind)
#A15B7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a246bd;
/* rgb */ color: rgb(162, 70, 189);
/* oklch */ color: oklch(56.4% 0.192 317.8);
Tailwind
colors: {
  custom: {
    50: '#c17fd1',
    500: '#a246bd',
    950: '#000000',
  },
}
SCSS
$custom: #a246bd;
$custom-light: #c17fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a246bd",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 286.387,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56389,
    "c": 0.19208,
    "h": 317.8
  },
  "luminance": 0.15736
}

Semantic roles & 50–950 ramp

primary
#A246BD
secondary
#A1CA95
accent
#D7516F
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A246BD

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

Preview Lab → · Contrast checker → · Palette generator →

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