#A236A5#A236A5

#A236A5 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.2% C 0.192 H 326.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A236A5
RGBrgb(162, 54, 165)
HSLhsl(298, 51%, 43%)
HSVhsv(298, 67%, 65%)
CMYKcmyk(1.8%, 67.3%, 0%, 35.3%)
CIE-LABlab(42.82, 58.09, -38.02)
CIE-LCHlch(42.82, 69.43, 326.80°)
OKLaboklab(53.2% 0.1606 -0.1053)
OKLCHoklch(53.2% 0.192 326.7)
XYZxyz(23.0106, 13.0378, 36.8946)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A236A5 #39A536
analogous
#6A36A5 #A236A5 #A53671
triadic
#A236A5 #A5A236 #36A5A2
tetradic
#A236A5 #A56A36 #39A536 #3671A5
square
#A236A5 #A56A36 #39A536 #3671A5
split-complementary
#A236A5 #71A536 #36A56A
monochromatic
#471849 #752777 #A236A5 #C352C6 #D380D5

Accessibility & contrast

On white

5.82
#A236A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A236A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A236A5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A236A5#FFFFFF#000000##FFFFFF
##A236A51.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA8
Deuteranopia (green-blind)
#4F6AA2
Tritanopia (blue-blind)
#A64669
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a236a5;
/* rgb */ color: rgb(162, 54, 165);
/* oklch */ color: oklch(53.2% 0.192 326.7);
Tailwind
colors: {
  custom: {
    50: '#c176c0',
    500: '#a236a5',
    950: '#000000',
  },
}
SCSS
$custom: #a236a5;
$custom-light: #c176c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a236a5",
  "rgb": {
    "r": 162,
    "g": 54,
    "b": 165
  },
  "hsl": {
    "h": 298.378,
    "s": 50.685,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53204,
    "c": 0.19203,
    "h": 326.7
  },
  "luminance": 0.13036
}

Semantic roles & 50–950 ramp

primary
#A236A5
secondary
#7ABF78
accent
#DA4E51
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A236A5

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

Preview Lab → · Contrast checker → · Palette generator →

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