#A236A4#A236A4

#A236A4 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.1% C 0.191 H 327.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A236A4
RGBrgb(162, 54, 164)
HSLhsl(299, 50%, 43%)
HSVhsv(299, 67%, 64%)
CMYKcmyk(1.2%, 67.1%, 0%, 35.7%)
CIE-LABlab(42.77, 57.92, -37.51)
CIE-LCHlch(42.77, 69.00, 327.07°)
OKLaboklab(53.15% 0.1605 -0.1038)
OKLCHoklch(53.15% 0.191 327.1)
XYZxyz(22.9199, 13.0016, 36.4171)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A236A4 #38A436
analogous
#6B36A4 #A236A4 #A4366F
triadic
#A236A4 #A4A236 #36A4A2
tetradic
#A236A4 #A46B36 #38A436 #366FA4
square
#A236A4 #A46B36 #38A436 #366FA4
split-complementary
#A236A4 #6FA436 #36A46B
monochromatic
#471848 #752776 #A236A4 #C451C6 #D37FD5

Accessibility & contrast

On white

5.83
#A236A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A236A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A236A4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A236A4#FFFFFF#000000##FFFFFF
##A236A41.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245CA7
Deuteranopia (green-blind)
#506AA1
Tritanopia (blue-blind)
#A74669
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a236a4;
/* rgb */ color: rgb(162, 54, 164);
/* oklch */ color: oklch(53.1% 0.191 327.1);
Tailwind
colors: {
  custom: {
    50: '#c176bf',
    500: '#a236a4',
    950: '#000000',
  },
}
SCSS
$custom: #a236a4;
$custom-light: #c176bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a236a4",
  "rgb": {
    "r": 162,
    "g": 54,
    "b": 164
  },
  "hsl": {
    "h": 298.909,
    "s": 50.459,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53147,
    "c": 0.1912,
    "h": 327.1
  },
  "luminance": 0.13
}

Semantic roles & 50–950 ramp

primary
#A236A4
secondary
#79BE78
accent
#DA4E50
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A236A4

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

Preview Lab → · Contrast checker → · Palette generator →

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