#A236A2#A236A2

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

Color values

HEX#A236A2
RGBrgb(162, 54, 162)
HSLhsl(300, 50%, 42%)
HSVhsv(300, 67%, 64%)
CMYKcmyk(0%, 66.7%, 0%, 36.5%)
CIE-LABlab(42.66, 57.57, -36.49)
CIE-LCHlch(42.66, 68.16, 327.63°)
OKLaboklab(53.03% 0.1605 -0.1009)
OKLCHoklch(53.03% 0.19 327.8)
XYZxyz(22.7407, 12.9299, 35.4734)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A236A2 #36A236
analogous
#6C36A2 #A236A2 #A2366C
triadic
#A236A2 #A2A236 #36A2A2
tetradic
#A236A2 #A26C36 #36A236 #366CA2
square
#A236A2 #A26C36 #36A236 #366CA2
split-complementary
#A236A2 #6CA236 #36A26C
monochromatic
#461746 #742774 #A236A2 #C550C5 #D47ED4

Accessibility & contrast

On white

5.86
#A236A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A236A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A236A2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A236A2#FFFFFF#000000##FFFFFF
##A236A21.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265CA5
Deuteranopia (green-blind)
#516A9F
Tritanopia (blue-blind)
#A74567
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a236a2;
/* rgb */ color: rgb(162, 54, 162);
/* oklch */ color: oklch(53.0% 0.190 327.8);
Tailwind
colors: {
  custom: {
    50: '#c176be',
    500: '#a236a2',
    950: '#000000',
  },
}
SCSS
$custom: #a236a2;
$custom-light: #c176be;
$custom-dark: #000000;
JSON
{
  "hex": "#a236a2",
  "rgb": {
    "r": 162,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53034,
    "c": 0.18955,
    "h": 327.8
  },
  "luminance": 0.12928
}

Semantic roles & 50–950 ramp

primary
#A236A2
secondary
#77BD77
accent
#DA4E4E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A236A2

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

Preview Lab → · Contrast checker → · Palette generator →

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