#A246BC#A246BC

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

Color values

HEX#A246BC
RGBrgb(162, 70, 188)
HSLhsl(287, 47%, 51%)
HSVhsv(287, 63%, 74%)
CMYKcmyk(13.8%, 62.8%, 0%, 26.3%)
CIE-LABlab(46.57, 55.57, -45.61)
CIE-LCHlch(46.57, 71.89, 320.62°)
OKLaboklab(56.33% 0.1423 -0.1275)
OKLCHoklch(56.33% 0.191 318.1)
XYZxyz(26.1663, 15.6936, 49.2181)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246BC #60BC46
analogous
#6746BC #A246BC #BC469B
triadic
#A246BC #BCA246 #46BCA2
tetradic
#A246BC #BC6746 #60BC46 #469BBC
square
#A246BC #BC6746 #60BC46 #469BBC
split-complementary
#A246BC #9BBC46 #46BC67
monochromatic
#562464 #7C3490 #A246BC #B973CC #CFA0DD

Accessibility & contrast

On white

5.07
#A246BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A246BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246BC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246BC#FFFFFF#000000##FFFFFF
##A246BC1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2368C0
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#A25A7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a246bc;
/* rgb */ color: rgb(162, 70, 188);
/* oklch */ color: oklch(56.3% 0.191 318.1);
Tailwind
colors: {
  custom: {
    50: '#c17fd1',
    500: '#a246bc',
    950: '#000000',
  },
}
SCSS
$custom: #a246bc;
$custom-light: #c17fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a246bc",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 286.78,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56329,
    "c": 0.19112,
    "h": 318.1
  },
  "luminance": 0.15693
}

Semantic roles & 50–950 ramp

primary
#A246BC
secondary
#A0C995
accent
#D6516F
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A246BC

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

Preview Lab → · Contrast checker → · Palette generator →

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