#A246B1#A246B1

#A246B1 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.7% C 0.181 H 321.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A246B1
RGBrgb(162, 70, 177)
HSLhsl(292, 43%, 48%)
HSVhsv(292, 60%, 69%)
CMYKcmyk(8.5%, 60.5%, 0%, 30.6%)
CIE-LABlab(45.96, 53.41, -40.15)
CIE-LCHlch(45.96, 66.82, 323.07°)
OKLaboklab(55.69% 0.142 -0.1116)
OKLCHoklch(55.69% 0.181 321.8)
XYZxyz(25.0254, 15.2373, 43.2094)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A246B1 #55B146
analogous
#6C46B1 #A246B1 #B1468A
triadic
#A246B1 #B1A246 #46B1A2
tetradic
#A246B1 #B16C46 #55B146 #468AB1
square
#A246B1 #B16C46 #55B146 #468AB1
split-complementary
#A246B1 #8AB146 #46B16C
monochromatic
#522359 #7A3585 #A246B1 #BA6EC6 #CF9AD7

Accessibility & contrast

On white

5.19
#A246B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#A246B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A246B1
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A246B1#FFFFFF#000000##FFFFFF
##A246B11.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3066B4
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#A45675
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a246b1;
/* rgb */ color: rgb(162, 70, 177);
/* oklch */ color: oklch(55.7% 0.181 321.8);
Tailwind
colors: {
  custom: {
    50: '#c07fc9',
    500: '#a246b1',
    950: '#000000',
  },
}
SCSS
$custom: #a246b1;
$custom-light: #c07fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a246b1",
  "rgb": {
    "r": 162,
    "g": 70,
    "b": 177
  },
  "hsl": {
    "h": 291.589,
    "s": 43.32,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55687,
    "c": 0.18065,
    "h": 321.8
  },
  "luminance": 0.15236
}

Semantic roles & 50–950 ramp

primary
#A246B1
secondary
#97C38F
accent
#D35566
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A246B1

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

Preview Lab → · Contrast checker → · Palette generator →

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