#A246B7#A246B7

#A246B7 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.0% C 0.186 H 319.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A246B7
RGBrgb(162, 70, 183)
HSLhsl(289, 45%, 50%)
HSVhsv(289, 62%, 72%)
CMYKcmyk(11.5%, 61.7%, 0%, 28.2%)
CIE-LABlab(46.29, 54.58, -43.14)
CIE-LCHlch(46.29, 69.57, 321.67°)
OKLaboklab(56.03% 0.1422 -0.1203)
OKLCHoklch(56.03% 0.186 319.8)
XYZxyz(25.6366, 15.4818, 46.4284)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246B7 #5BB746
analogous
#6A46B7 #A246B7 #B74693
triadic
#A246B7 #B7A246 #46B7A2
tetradic
#A246B7 #B76A46 #5BB746 #4693B7
square
#A246B7 #B76A46 #5BB746 #4693B7
split-complementary
#A246B7 #93B746 #46B76A
monochromatic
#54245E #7B358B #A246B7 #B971C9 #CF9EDA

Accessibility & contrast

On white

5.13
#A246B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A246B7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246B7#FFFFFF#000000##FFFFFF
##A246B71.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2967BA
Deuteranopia (green-blind)
#4F71B4
Tritanopia (blue-blind)
#A35878
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a246b7;
/* rgb */ color: rgb(162, 70, 183);
/* oklch */ color: oklch(56.0% 0.186 319.8);
Tailwind
colors: {
  custom: {
    50: '#c07fcd',
    500: '#a246b7',
    950: '#000000',
  },
}
SCSS
$custom: #a246b7;
$custom-light: #c07fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#a246b7",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 183
  },
  "hsl": {
    "h": 288.85,
    "s": 44.664,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56033,
    "c": 0.18633,
    "h": 319.8
  },
  "luminance": 0.15481
}

Semantic roles & 50–950 ramp

primary
#A246B7
secondary
#9CC693
accent
#D4536B
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A246B7

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

Preview Lab → · Contrast checker → · Palette generator →

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