#A246BE#A246BE

#A246BE is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.5% C 0.193 H 317.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A246BE
RGBrgb(162, 70, 190)
HSLhsl(286, 48%, 51%)
HSVhsv(286, 63%, 75%)
CMYKcmyk(14.7%, 63.2%, 0%, 25.5%)
CIE-LABlab(46.69, 55.97, -46.59)
CIE-LCHlch(46.69, 72.82, 320.22°)
OKLaboklab(56.45% 0.1423 -0.1304)
OKLCHoklch(56.45% 0.193 317.5)
XYZxyz(26.3834, 15.7805, 50.3614)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246BE #62BE46
analogous
#6646BE #A246BE #BE469E
triadic
#A246BE #BEA246 #46BEA2
tetradic
#A246BE #BE6646 #62BE46 #469EBE
square
#A246BE #BE6646 #62BE46 #469EBE
split-complementary
#A246BE #9EBE46 #46BE66
monochromatic
#562466 #7D3493 #A246BE #B973CE #D0A1DE

Accessibility & contrast

On white

5.05
#A246BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#A246BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246BE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246BE#FFFFFF#000000##FFFFFF
##A246BE1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F69C2
Deuteranopia (green-blind)
#4A72BB
Tritanopia (blue-blind)
#A15B7C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a246be;
/* rgb */ color: rgb(162, 70, 190);
/* oklch */ color: oklch(56.5% 0.193 317.5);
Tailwind
colors: {
  custom: {
    50: '#c17fd2',
    500: '#a246be',
    950: '#000000',
  },
}
SCSS
$custom: #a246be;
$custom-light: #c17fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a246be",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 286,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5645,
    "c": 0.19305,
    "h": 317.5
  },
  "luminance": 0.15779
}

Semantic roles & 50–950 ramp

primary
#A246BE
secondary
#A2CA95
accent
#D85070
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A246BE

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

Preview Lab → · Contrast checker → · Palette generator →

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