#A236A1#A236A1

#A236A1 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.0% C 0.189 H 328.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A236A1
RGBrgb(162, 54, 161)
HSLhsl(301, 50%, 42%)
HSVhsv(301, 67%, 64%)
CMYKcmyk(0%, 66.7%, 0.6%, 36.5%)
CIE-LABlab(42.60, 57.40, -35.97)
CIE-LCHlch(42.60, 67.74, 327.92°)
OKLaboklab(52.98% 0.1604 -0.0994)
OKLCHoklch(52.98% 0.189 328.2)
XYZxyz(22.6522, 12.8945, 35.0071)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A236A1 #36A237
analogous
#6D36A2 #A236A1 #A2366B
triadic
#A236A1 #A1A236 #36A1A2
tetradic
#A236A1 #A26D36 #36A237 #366BA2
square
#A236A1 #A26D36 #36A237 #366BA2
split-complementary
#A236A1 #6BA236 #36A26D
monochromatic
#461746 #742773 #A236A1 #C550C4 #D47ED3

Accessibility & contrast

On white

5.87
#A236A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A236A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A236A1
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A236A1#FFFFFF#000000##FFFFFF
##A236A11.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285BA4
Deuteranopia (green-blind)
#516A9E
Tritanopia (blue-blind)
#A74467
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a236a1;
/* rgb */ color: rgb(162, 54, 161);
/* oklch */ color: oklch(53.0% 0.189 328.2);
Tailwind
colors: {
  custom: {
    50: '#c176bd',
    500: '#a236a1',
    950: '#000000',
  },
}
SCSS
$custom: #a236a1;
$custom-light: #c176bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a236a1",
  "rgb": {
    "r": 162,
    "g": 54,
    "b": 161
  },
  "hsl": {
    "h": 300.556,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52977,
    "c": 0.18872,
    "h": 328.2
  },
  "luminance": 0.12893
}

Semantic roles & 50–950 ramp

primary
#A236A1
secondary
#77BD77
accent
#DA504E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A236A1

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

Preview Lab → · Contrast checker → · Palette generator →

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